mirror of
https://github.com/danog/Telegram.git
synced 2024-12-02 09:27:55 +01:00
29 lines
986 B
Objective-C
29 lines
986 B
Objective-C
#import "TGViewController.h"
|
|
|
|
@class TGImageInfo;
|
|
@class TGSuggestionContext;
|
|
|
|
@interface TGWebSearchController : TGViewController
|
|
|
|
@property (nonatomic, copy) void (^avatarCompletionBlock)(UIImage *);
|
|
@property (nonatomic, copy) void (^completionBlock)(TGWebSearchController *sender);
|
|
@property (nonatomic, copy) void (^dismiss)(void);
|
|
|
|
@property (nonatomic, weak) TGNavigationController *parentNavigationController;
|
|
|
|
@property (nonatomic, readonly) bool avatarSelection;
|
|
@property (nonatomic, assign) bool captionsEnabled;
|
|
@property (nonatomic, strong) TGSuggestionContext *suggestionContext;
|
|
|
|
- (instancetype)initForAvatarSelection:(bool)avatarSelection embedded:(bool)embedded;
|
|
|
|
- (NSArray *)selectedItemSignals:(id (^)(id, NSString *))imageDescriptionGenerator;
|
|
|
|
+ (void)clearRecents;
|
|
+ (void)addRecentSelectedItems:(NSArray *)items;
|
|
|
|
- (void)presentEmbeddedInController:(UIViewController *)controller animated:(bool)animated;
|
|
- (void)dismissEmbeddedAnimated:(bool)animated;
|
|
|
|
@end
|