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

33 lines
771 B
C
Raw Normal View History

2015-10-01 18:19:52 +02:00
#import <Foundation/Foundation.h>
@class TGNeoChatsController;
@class TGFileCache;
2016-02-25 01:03:51 +01:00
typedef enum
{
TGContentSizeCategoryXS,
TGContentSizeCategoryS,
TGContentSizeCategoryM,
TGContentSizeCategoryL,
TGContentSizeCategoryXL,
TGContentSizeCategoryXXL,
TGContentSizeCategoryXXXL
} TGContentSizeCategory;
2015-10-01 18:19:52 +02:00
@interface TGExtensionDelegate : NSObject <WKExtensionDelegate>
@property (nonatomic, readonly) TGFileCache *audioCache;
@property (nonatomic, readonly) TGFileCache *imageCache;
@property (nonatomic, readonly) TGNeoChatsController *chatsController;
2016-02-25 01:03:51 +01:00
@property (nonatomic, readonly) TGContentSizeCategory contentSizeCategory;
- (void)setCustomLocalizationFile:(NSURL *)fileUrl;
+ (NSString *)documentsPath;
2015-10-01 18:19:52 +02:00
+ (instancetype)instance;
@end