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

MWMPlacePageProtocol.h « Classes « Maps « iphone - github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: af0e6a4c35b3e735044897154a7435e3bb2b55c0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
#import "MWMMapViewControlsManager.h"

#include "Framework.h"

@class MWMPlacePageEntity, MWMViewController;

@protocol MWMActionBarProtocol <NSObject>

- (void)routeFrom;
- (void)routeTo;

- (void)share;

- (void)addBookmark;
- (void)removeBookmark;

- (void)call;
- (void)book:(BOOL)isDecription;

- (void)apiBack;

@end

@protocol MWMPlacePageButtonsProtocol <NSObject>

- (void)editPlace;
- (void)addPlace;
- (void)addBusiness;
- (void)book:(BOOL)isDescription;
- (void)editBookmark;

@end

struct FeatureID;

@protocol MWMFeatureHolder <NSObject>

- (FeatureID const &)featureId;

@end

@protocol MWMPlacePageProtocol <MWMActionBarProtocol, MWMPlacePageButtonsProtocol, MWMFeatureHolder>

@property(weak, nonatomic, readonly) MWMViewController * ownerViewController;
@property(nonatomic) CGFloat topBound;
@property(nonatomic) CGFloat leftBound;

- (instancetype)initWithViewController:(MWMViewController *)viewController;
- (void)showPlacePage:(place_page::Info const &)info;
- (void)mwm_refreshUI;
- (void)dismissPlacePage;
- (void)hidePlacePage;
- (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)orientation;
- (void)viewWillTransitionToSize:(CGSize)size
       withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator;
- (void)addSubviews:(NSArray *)views withNavigationController:(UINavigationController *)controller;

@end