mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-06-16 05:55:20 +00:00
22 lines
689 B
Objective-C
22 lines
689 B
Objective-C
#import <UIKit/UIKit.h>
|
|
#import <LegacyComponents/TGMediaEditingContext.h>
|
|
#import <LegacyComponents/TGMediaSelectionContext.h>
|
|
|
|
@class PGCameraShotMetadata;
|
|
@class PGRectangle;
|
|
|
|
@interface TGCameraCapturedPhoto : NSObject <TGMediaEditableItem, TGMediaSelectableItem>
|
|
|
|
@property (nonatomic, readonly) NSURL *url;
|
|
@property (nonatomic, readonly) PGCameraShotMetadata *metadata;
|
|
@property (nonatomic, readonly) PGRectangle *rectangle;
|
|
|
|
- (instancetype)initWithImage:(UIImage *)image metadata:(PGCameraShotMetadata *)metadata;
|
|
- (instancetype)initWithExistingImage:(UIImage *)image;
|
|
|
|
- (instancetype)initWithImage:(UIImage *)image rectangle:(PGRectangle *)rectangle;
|
|
|
|
- (void)_cleanUp;
|
|
|
|
@end
|