Swiftgram/LegacyComponents/LegacyComponentsGlobals.h
2017-07-19 20:26:28 +03:00

19 lines
380 B
Objective-C

#import <Foundation/Foundation.h>
@class TGLocalization;
@protocol LegacyComponentsGlobalsProvider <NSObject>
- (TGLocalization *)effectiveLocalization;
- (void)log:(NSString *)format :(va_list)args;
@end
@interface LegacyComponentsGlobals : NSObject
+ (void)setProvider:(id<LegacyComponentsGlobalsProvider>)provider;
+ (id<LegacyComponentsGlobalsProvider>)provider;
@end