Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'iphone/Maps/Classes/MWMPlacePageActionBar.h')
-rw-r--r--iphone/Maps/Classes/MWMPlacePageActionBar.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/MWMPlacePageActionBar.h b/iphone/Maps/Classes/MWMPlacePageActionBar.h
index 0e09565350..1ccd7465c5 100644
--- a/iphone/Maps/Classes/MWMPlacePageActionBar.h
+++ b/iphone/Maps/Classes/MWMPlacePageActionBar.h
@@ -1,7 +1,25 @@
@class MWMPlacePageViewManager;
+@class MWMPlacePageData;
+
+@protocol MWMActionBarSharedData <NSObject>
+
+- (BOOL)isBookmark;
+- (BOOL)isBooking;
+- (BOOL)isApi;
+- (BOOL)isMyPosition;
+- (NSString *)title;
+- (NSString *)subtitle;
+- (NSString *)phoneNumber;
+
+@end
+
+@protocol MWMActionBarProtocol;
@interface MWMPlacePageActionBar : SolidTouchView
++ (MWMPlacePageActionBar *)actionBarWithDelegate:(id<MWMActionBarProtocol>)delegate;
+- (void)configureWithData:(id<MWMActionBarSharedData>)data;
+
@property (nonatomic) BOOL isBookmark;
- (UIView *)shareAnchor;