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
|