mirror of
https://github.com/danog/Telegram.git
synced 2024-12-04 10:27:46 +01:00
16 lines
408 B
C
16 lines
408 B
C
|
#import "TGAttachmentSheetItemView.h"
|
||
|
|
||
|
@interface TGAttachmentSheetButtonItemView : TGAttachmentSheetItemView
|
||
|
|
||
|
@property (nonatomic, copy) void (^pressed)();
|
||
|
|
||
|
- (instancetype)initWithTitle:(NSString *)title pressed:(void (^)())pressed;
|
||
|
- (void)setTitle:(NSString *)title;
|
||
|
- (void)setBold:(bool)bold;
|
||
|
- (void)setImage:(UIImage *)image;
|
||
|
- (void)setDestructive:(bool)destructive;
|
||
|
|
||
|
- (void)_buttonPressed;
|
||
|
|
||
|
@end
|