Files
Swiftgram/submodules/LegacyComponents/LegacyComponents/TGLocationInfoCell.h
Peter d153fe0f21 Add 'submodules/LegacyComponents/' from commit 'd5594346161c1b7f203d1e87068bbe77bcaac019'
git-subtree-dir: submodules/LegacyComponents
git-subtree-mainline: 6086305304
git-subtree-split: d559434616
2019-06-11 18:51:15 +01:00

24 lines
701 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 messageId:(int32_t)messageId userLocationSignal:(SSignal *)userLocationSignal;
@end
extern NSString *const TGLocationInfoCellKind;
extern const CGFloat TGLocationInfoCellHeight;