1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-04 10:27:46 +01:00
Telegram/Watch/Extension/TGNeoChatsController.h

41 lines
1.3 KiB
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import "TGInterfaceController.h"
#import "TGBridgeStateSignal.h"
@class TGBridgeContext;
@class TGBridgeChat;
@interface TGNeoChatsControllerContext : NSObject <TGInterfaceContext>
@property (nonatomic, strong) NSArray *initialChats;
@property (nonatomic, strong) TGBridgeContext *context;
@property (nonatomic, copy) void (^completionBlock)(TGBridgeChat *peer);
@end
@interface TGNeoChatsController : TGInterfaceController
@property (nonatomic, weak) IBOutlet WKInterfaceTable *table;
@property (nonatomic, weak) IBOutlet WKInterfaceImage *activityIndicator;
@property (nonatomic, weak) IBOutlet WKInterfaceGroup *authAlertGroup;
@property (nonatomic, weak) IBOutlet WKInterfaceImage *authAlertImage;
@property (nonatomic, weak) IBOutlet WKInterfaceGroup *authAlertImageGroup;
@property (nonatomic, weak) IBOutlet WKInterfaceLabel *authAlertLabel;
@property (nonatomic, weak) IBOutlet WKInterfaceLabel *authAlertDescLabel;
@property (nonatomic, readonly) NSArray *chats;
2016-02-25 01:03:51 +01:00
- (void)popAllControllers;
- (void)resetLocalization;
2015-10-01 18:19:52 +02:00
+ (NSString *)stringForSyncState:(TGBridgeSynchronizationStateValue)value;
@end
extern NSString *const TGSynchronizationStateNotification;
extern NSString *const TGSynchronizationStateKey;
2016-02-25 01:03:51 +01:00
extern NSString *const TGContextNotification;
extern NSString *const TGContextNotificationKey;