mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-01 07:57:01 +00:00

git-subtree-dir: submodules/LegacyComponents git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9 git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
22 lines
627 B
Objective-C
22 lines
627 B
Objective-C
#import <LegacyComponents/LegacyComponents.h>
|
|
|
|
@class TGPresentation;
|
|
@class TGPassportMRZ;
|
|
|
|
@interface TGPassportScanControllerTheme : NSObject
|
|
|
|
@property (nonatomic, strong, readonly) UIColor *backgroundColor;
|
|
@property (nonatomic, strong, readonly) UIColor *textColor;
|
|
|
|
- (instancetype)initWithBackgroundColor:(UIColor *)backgroundColor textColor:(UIColor *)textColor;
|
|
|
|
@end
|
|
|
|
@interface TGPassportScanController : TGViewController
|
|
|
|
@property (nonatomic, copy) void (^finishedWithMRZ)(TGPassportMRZ *);
|
|
|
|
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context theme:(TGPassportScanControllerTheme *)theme;
|
|
|
|
@end
|