RoomSearchTableViewController.h 814 B

123456789101112131415161718192021222324252627282930
  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. NS_ASSUME_NONNULL_BEGIN
  7. @class NCRoom;
  8. @class NCUser;
  9. @class NKSearchEntry;
  10. @interface RoomSearchTableViewController : UITableViewController
  11. @property (nonatomic, strong) NSArray *rooms;
  12. @property (nonatomic, strong) NSArray *users;
  13. @property (nonatomic, strong) NSArray *listableRooms;
  14. @property (nonatomic, strong) NSArray *messages;
  15. @property (nonatomic, assign) BOOL searchingMessages;
  16. - (NCRoom *)roomForIndexPath:(NSIndexPath *)indexPath;
  17. - (NCUser *)userForIndexPath:(NSIndexPath *)indexPath;
  18. - (NKSearchEntry *)messageForIndexPath:(NSIndexPath *)indexPath;
  19. - (void)showSearchingFooterView;
  20. - (void)clearSearchedResults;
  21. @end
  22. NS_ASSUME_NONNULL_END