mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-04 11:50:38 +00:00

git-subtree-dir: submodules/LegacyComponents git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9 git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
21 lines
567 B
Objective-C
21 lines
567 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#import <LegacyComponents/PGCamera.h>
|
|
|
|
@interface TGCameraFlashControl : UIControl
|
|
|
|
@property (nonatomic, assign) PGCameraFlashMode mode;
|
|
@property (nonatomic, assign) UIInterfaceOrientation interfaceOrientation;
|
|
|
|
@property (nonatomic, copy) void(^becameActive)(void);
|
|
@property (nonatomic, copy) void(^modeChanged)(PGCameraFlashMode mode);
|
|
|
|
- (void)setFlashUnavailable:(bool)unavailable;
|
|
|
|
- (void)setHidden:(bool)hidden animated:(bool)animated;
|
|
|
|
- (void)dismissAnimated:(bool)animated;
|
|
|
|
@end
|
|
|
|
extern const CGFloat TGCameraFlashControlHeight;
|