2025-06-18 17:24:21 +02:00

23 lines
680 B
Objective-C

#import <LegacyComponents/TGViewController.h>
#import <LegacyComponents/LegacyComponentsContext.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