2020-02-22 15:38:54 +04:00

24 lines
724 B
Objective-C

#import <UIKit/UIKit.h>
#import <SSignalKit/SSignalKit.h>
@class TGLocationMediaAttachment;
@class TGLocationPallete;
@interface TGLocationInfoCell : UITableViewCell
@property (nonatomic, strong) TGLocationPallete *pallete;
@property (nonatomic, assign) UIEdgeInsets safeInset;
@property (nonatomic, copy) void (^locatePressed)(void);
@property (nonatomic, copy) void (^directionsPressed)(void);
@property (nonatomic, readonly) UIButton *directionsButton;
- (void)setLocation:(TGLocationMediaAttachment *)location color:(UIColor *)color messageId:(int32_t)messageId userLocationSignal:(SSignal *)userLocationSignal;
@end
extern NSString *const TGLocationInfoCellKind;
extern const CGFloat TGLocationInfoCellHeight;