2017-04-25 18:56:37 +02:00
|
|
|
//
|
2018-02-28 16:55:33 +01:00
|
|
|
// Copyright (c) 2018 Open Whisper Systems. All rights reserved.
|
2017-04-25 18:56:37 +02:00
|
|
|
//
|
|
|
|
|
2020-11-11 06:30:54 +01:00
|
|
|
#import <SignalUtilitiesKit/OWSViewController.h>
|
2017-07-25 19:23:23 +02:00
|
|
|
|
2017-04-25 18:56:37 +02:00
|
|
|
@class TSThread;
|
|
|
|
|
2017-04-26 18:25:41 +02:00
|
|
|
NS_ASSUME_NONNULL_BEGIN
|
|
|
|
|
2017-04-25 18:56:37 +02:00
|
|
|
@protocol SelectThreadViewControllerDelegate <NSObject>
|
|
|
|
|
|
|
|
- (void)threadWasSelected:(TSThread *)thread;
|
|
|
|
|
|
|
|
- (BOOL)canSelectBlockedContact;
|
|
|
|
|
2018-08-21 22:56:21 +02:00
|
|
|
- (nullable UIView *)createHeaderWithSearchBar:(UISearchBar *)searchBar;
|
2017-04-26 19:03:51 +02:00
|
|
|
|
2017-04-25 18:56:37 +02:00
|
|
|
@end
|
|
|
|
|
|
|
|
#pragma mark -
|
|
|
|
|
2017-04-28 18:18:42 +02:00
|
|
|
// A base class for views used to pick a single signal user, either by
|
|
|
|
// entering a phone number or picking from your contacts.
|
2017-07-25 19:23:23 +02:00
|
|
|
@interface SelectThreadViewController : OWSViewController
|
2017-04-25 18:56:37 +02:00
|
|
|
|
2017-12-07 20:52:38 +01:00
|
|
|
@property (nonatomic, weak) id<SelectThreadViewControllerDelegate> selectThreadViewDelegate;
|
2017-04-25 18:56:37 +02:00
|
|
|
|
|
|
|
@end
|
2017-04-26 18:25:41 +02:00
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|