mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-18 11:30:04 +00:00
20 lines
610 B
Objective-C
20 lines
610 B
Objective-C
#import <LegacyComponents/TGViewController.h>
|
|
#import <LegacyComponents/LegacyComponentsContext.h>
|
|
|
|
#import <CoreLocation/CoreLocation.h>
|
|
|
|
@class TGVenueAttachment;
|
|
|
|
typedef enum {
|
|
TGLocationPickerControllerDefaultIntent,
|
|
TGLocationPickerControllerCustomLocationIntent
|
|
} TGLocationPickerControllerIntent;
|
|
|
|
@interface TGLocationPickerController : TGViewController
|
|
|
|
@property (nonatomic, copy) void (^locationPicked)(CLLocationCoordinate2D coordinate, TGVenueAttachment *venue);
|
|
|
|
- (instancetype)initWithContext:(id<LegacyComponentsContext>)context intent:(TGLocationPickerControllerIntent)intent;
|
|
|
|
@end
|