mirror of
https://github.com/danog/Telegram.git
synced 2024-12-03 09:57:46 +01:00
19 lines
495 B
Objective-C
19 lines
495 B
Objective-C
#import "TGViewController.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)initWithIntent:(TGLocationPickerControllerIntent)intent;
|
|
|
|
@end
|