Peter d153fe0f21 Add 'submodules/LegacyComponents/' from commit 'd5594346161c1b7f203d1e87068bbe77bcaac019'
git-subtree-dir: submodules/LegacyComponents
git-subtree-mainline: 608630530451e02e5aec48389d144dbf7a3625b9
git-subtree-split: d5594346161c1b7f203d1e87068bbe77bcaac019
2019-06-11 18:51:15 +01:00

24 lines
723 B
Objective-C

#import <UIKit/UIKit.h>
#import <SSignalKit/SSignalKit.h>
#import <LegacyComponents/TGImageView.h>
@class TGMediaSelectionContext;
@class TGMediaEditingContext;
@interface TGClipboardPreviewCell : UICollectionViewCell
@property (nonatomic, readonly) UIImage *image;
@property (nonatomic, readonly) TGImageView *imageView;
@property (nonatomic, strong) TGMediaSelectionContext *selectionContext;
@property (nonatomic, strong) TGMediaEditingContext *editingContext;
- (void)setCornersImage:(UIImage *)cornersImage;
- (void)setImage:(UIImage *)image signal:(SSignal *)signal hasCheck:(bool)hasCheck;
- (void)setHidden:(bool)hidden animated:(bool)animated;
@end
extern NSString *const TGClipboardPreviewCellIdentifier;