2017-04-25 18:56:37 +02:00
|
|
|
//
|
|
|
|
// Copyright (c) 2017 Open Whisper Systems. All rights reserved.
|
|
|
|
//
|
|
|
|
|
2017-07-25 19:23:23 +02:00
|
|
|
#import "OWSViewController.h"
|
|
|
|
|
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;
|
|
|
|
|
2017-04-26 21:44: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
|
|
|
|
|
|
|
@property (nonatomic, weak) id<SelectThreadViewControllerDelegate> delegate;
|
|
|
|
|
|
|
|
@end
|
2017-04-26 18:25:41 +02:00
|
|
|
|
|
|
|
NS_ASSUME_NONNULL_END
|