mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-12-23 06:35:51 +00:00
Module refactoring
This commit is contained in:
25
submodules/BuildConfig/Sources/BuildConfig.h
Normal file
25
submodules/BuildConfig/Sources/BuildConfig.h
Normal file
@@ -0,0 +1,25 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
@interface DeviceSpecificEncryptionParameters : NSObject
|
||||
|
||||
@property (nonatomic, strong) NSData * _Nonnull key;
|
||||
@property (nonatomic, strong) NSData * _Nonnull salt;
|
||||
|
||||
@end
|
||||
|
||||
@interface BuildConfig : NSObject
|
||||
|
||||
- (instancetype _Nonnull)initWithBaseAppBundleId:(NSString * _Nonnull)baseAppBundleId;
|
||||
|
||||
@property (nonatomic, strong, readonly) NSData * _Nullable bundleData;
|
||||
@property (nonatomic, strong, readonly) NSString * _Nullable hockeyAppId;
|
||||
@property (nonatomic, readonly) int32_t apiId;
|
||||
@property (nonatomic, strong, readonly) NSString * _Nonnull apiHash;
|
||||
@property (nonatomic, readonly) bool isInternalBuild;
|
||||
@property (nonatomic, readonly) bool isAppStoreBuild;
|
||||
@property (nonatomic, readonly) int64_t appStoreId;
|
||||
@property (nonatomic, strong, readonly) NSString * _Nonnull appSpecificUrlScheme;
|
||||
|
||||
+ (DeviceSpecificEncryptionParameters * _Nonnull)deviceSpecificEncryptionParameters:(NSString * _Nonnull)rootPath baseAppBundleId:(NSString * _Nonnull)baseAppBundleId;
|
||||
|
||||
@end
|
||||
Reference in New Issue
Block a user