2014-07-10 16:11:09 +02:00
|
|
|
#import "TGModernView.h"
|
|
|
|
|
|
|
|
@protocol TGMessageImageViewDelegate;
|
|
|
|
|
|
|
|
@interface TGDocumentMessageIconView : UIView <TGModernView>
|
|
|
|
|
|
|
|
@property (nonatomic, weak) id<TGMessageImageViewDelegate> delegate;
|
|
|
|
|
2015-10-01 18:19:52 +02:00
|
|
|
@property (nonatomic, strong) NSString *fileName;
|
2014-07-10 16:11:09 +02:00
|
|
|
|
2016-02-25 01:03:51 +01:00
|
|
|
@property (nonatomic) CGFloat diameter;
|
2015-10-01 18:19:52 +02:00
|
|
|
@property (nonatomic) bool incoming;
|
2014-07-10 16:11:09 +02:00
|
|
|
@property (nonatomic) int overlayType;
|
2015-10-01 18:19:52 +02:00
|
|
|
@property (nonatomic) CGFloat progress;
|
2014-07-10 16:11:09 +02:00
|
|
|
|
|
|
|
- (void)setOverlayType:(int)overlayType animated:(bool)animated;
|
2015-10-01 18:19:52 +02:00
|
|
|
- (void)setProgress:(CGFloat)progress animated:(bool)animated;
|
2014-07-10 16:11:09 +02:00
|
|
|
|
|
|
|
@end
|