1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGMediaPickerItem.h
2015-10-01 19:19:52 +03:00

13 lines
605 B
Objective-C

#import "TGModernMediaListItem.h"
#import "TGModernMediaListSelectableItem.h"
#import "TGModernMediaListEditableItem.h"
#import "TGMediaPickerAsset.h"
@interface TGMediaPickerItem : NSObject <TGModernMediaListItem, TGModernMediaListSelectableItem, TGModernMediaListEditableItem>
@property (nonatomic, readonly) TGMediaPickerAsset *asset;
- (instancetype)initWithAsset:(TGMediaPickerAsset *)asset itemSelected:(void (^)(id<TGModernMediaListItem>, bool))itemSelected isItemSelected:(bool (^)(id<TGModernMediaListItem>))isItemSelected isItemHidden:(bool (^)(id<TGModernMediaListItem>))isItemHidden;
@end