mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 02:17:51 +01:00
33 lines
771 B
Objective-C
33 lines
771 B
Objective-C
#import <Foundation/Foundation.h>
|
|
|
|
@class TGNeoChatsController;
|
|
@class TGFileCache;
|
|
|
|
typedef enum
|
|
{
|
|
TGContentSizeCategoryXS,
|
|
TGContentSizeCategoryS,
|
|
TGContentSizeCategoryM,
|
|
TGContentSizeCategoryL,
|
|
TGContentSizeCategoryXL,
|
|
TGContentSizeCategoryXXL,
|
|
TGContentSizeCategoryXXXL
|
|
} TGContentSizeCategory;
|
|
|
|
@interface TGExtensionDelegate : NSObject <WKExtensionDelegate>
|
|
|
|
@property (nonatomic, readonly) TGFileCache *audioCache;
|
|
@property (nonatomic, readonly) TGFileCache *imageCache;
|
|
|
|
@property (nonatomic, readonly) TGNeoChatsController *chatsController;
|
|
|
|
@property (nonatomic, readonly) TGContentSizeCategory contentSizeCategory;
|
|
|
|
- (void)setCustomLocalizationFile:(NSURL *)fileUrl;
|
|
|
|
+ (NSString *)documentsPath;
|
|
|
|
+ (instancetype)instance;
|
|
|
|
@end
|