1
0
mirror of https://github.com/danog/Telegram.git synced 2024-12-03 09:57:46 +01:00
Telegram/Telegraph/TGLocationPickerController.h
2015-10-01 19:19:52 +03:00

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