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 'map/bookmark_manager.hpp')
-rw-r--r--map/bookmark_manager.hpp10
1 files changed, 4 insertions, 6 deletions
diff --git a/map/bookmark_manager.hpp b/map/bookmark_manager.hpp
index b14b4df97b..b1001a15e0 100644
--- a/map/bookmark_manager.hpp
+++ b/map/bookmark_manager.hpp
@@ -74,20 +74,18 @@ public:
/// Additional layer methods
bool UserMarksIsVisible(UserMarkType type) const;
- UserMarksController & UserMarksRequestController(UserMarkType type);
- void UserMarksReleaseController(UserMarksController & controller);
+ UserMarksController & GetUserMarksController(UserMarkType type);
private:
UserMarkContainer const * FindUserMarksContainer(UserMarkType type) const;
UserMarkContainer * FindUserMarksContainer(UserMarkType type);
};
-class UserMarkControllerGuard
+class UserMarkNotifyGuard
{
public:
- UserMarkControllerGuard(BookmarkManager & mng, UserMarkType type);
- ~UserMarkControllerGuard();
+ UserMarkNotifyGuard(BookmarkManager & mng, UserMarkType type);
+ ~UserMarkNotifyGuard();
- BookmarkManager & m_mng;
UserMarksController & m_controller;
};