Commit ed60ffe5675236508cbdcc1e4ed22de4ce9cb731
1 parent
f2e8fb61
no message
Showing
1 changed file
with
10 additions
and
4 deletions
CNLiveServices/Classes/NetHome/CNLiveSendPositionProtocol.h
| @@ -7,16 +7,22 @@ | @@ -7,16 +7,22 @@ | ||
| 7 | 7 | ||
| 8 | #import <Foundation/Foundation.h> | 8 | #import <Foundation/Foundation.h> |
| 9 | #import "BHServiceProtocol.h" | 9 | #import "BHServiceProtocol.h" |
| 10 | +#import <MapKit/MapKit.h> | ||
| 10 | 11 | ||
| 11 | -NS_ASSUME_NONNULL_BEGIN | 12 | +//////发送位置delegate/////// |
| 13 | +@protocol CNLiveSendPositonDelegate <NSObject> | ||
| 14 | + | ||
| 15 | +- (void)sendCurrentLocation:(CLLocationCoordinate2D)location image:(NSString *)img addressName:(NSArray *)arr; | ||
| 16 | + | ||
| 17 | +@end | ||
| 18 | + | ||
| 19 | +//////////// | ||
| 12 | 20 | ||
| 13 | @protocol CNLiveSendPositionProtocol <NSObject,BHServiceProtocol> | 21 | @protocol CNLiveSendPositionProtocol <NSObject,BHServiceProtocol> |
| 14 | 22 | ||
| 15 | -- (UIViewController *)getMapViewController; | ||
| 16 | -- (void)pushToMapViewController; | 23 | +- (void)pushToMapViewController:(id)delegate; |
| 17 | //位置信息详情VC | 24 | //位置信息详情VC |
| 18 | - (UIViewController *)getMapDetailViewController; | 25 | - (UIViewController *)getMapDetailViewController; |
| 19 | - (void)pushToMapDetailViewController; | 26 | - (void)pushToMapDetailViewController; |
| 20 | @end | 27 | @end |
| 21 | 28 | ||
| 22 | -NS_ASSUME_NONNULL_END |