1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGCameraPhotoPreviewController.h
2016-02-25 01:03:51 +01:00

26 lines
867 B
Objective-C

#import "TGOverlayController.h"
@class PGCameraShotMetadata;
@class PGPhotoEditorValues;
@class TGSuggestionContext;
@interface TGCameraPhotoPreviewController : TGOverlayController
@property (nonatomic, assign) bool allowCaptions;
@property (nonatomic, copy) CGRect(^beginTransitionIn)(void);
@property (nonatomic, copy) CGRect(^beginTransitionOut)(CGRect referenceFrame);
@property (nonatomic, copy) void (^photoEditorShown)(void);
@property (nonatomic, copy) void (^photoEditorHidden)(void);
@property (nonatomic, copy) void(^retakePressed)(void);
@property (nonatomic, copy) void(^sendPressed)(UIImage *resultImage, NSString *caption);
@property (nonatomic, strong) TGSuggestionContext *suggestionContext;
@property (nonatomic, assign) bool shouldStoreAssets;
- (instancetype)initWithImage:(UIImage *)image metadata:(PGCameraShotMetadata *)metadata;
@end