AddParticipantsTableViewController.h 834 B

12345678910111213141516171819202122232425
  1. /**
  2. * SPDX-FileCopyrightText: 2020 Nextcloud GmbH and Nextcloud contributors
  3. * SPDX-License-Identifier: GPL-3.0-or-later
  4. */
  5. #import <UIKit/UIKit.h>
  6. #import "NCRoom.h"
  7. #import "NCUser.h"
  8. @class AddParticipantsTableViewController;
  9. @protocol AddParticipantsTableViewControllerDelegate <NSObject>
  10. @optional
  11. - (void)addParticipantsTableViewController:(AddParticipantsTableViewController *)viewController wantsToAdd:(NSArray<NCUser *> *)participants;
  12. - (void)addParticipantsTableViewControllerDidFinish:(AddParticipantsTableViewController *)viewController;
  13. @end
  14. @interface AddParticipantsTableViewController : UITableViewController
  15. @property (nonatomic, weak) id<AddParticipantsTableViewControllerDelegate> delegate;
  16. - (instancetype)initForRoom:(NCRoom *)room;
  17. - (instancetype)initWithParticipants:(NSArray<NCUser *> *)room;
  18. @end