diff options
author | ExMix <rahuba.youri@mapswithme.com> | 2014-10-22 17:21:01 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:31:30 +0300 |
commit | 62caf2d453cdd7a8d74c059fde0051e9a678e5f2 (patch) | |
tree | 2c450a9a69babe0c5948b2e3589f5a4d9fe18ef4 /map/bookmark_manager.hpp | |
parent | 8deb7543944ee41fbf44bd34a59c02504eb95e44 (diff) |
[core] use dummy category for routes. Not save to kml.
Diffstat (limited to 'map/bookmark_manager.hpp')
-rw-r--r-- | map/bookmark_manager.hpp | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/map/bookmark_manager.hpp b/map/bookmark_manager.hpp index 7fd8882542..59146c41a9 100644 --- a/map/bookmark_manager.hpp +++ b/map/bookmark_manager.hpp @@ -3,12 +3,15 @@ #include "user_mark_container.hpp" #include "user_mark_dl_cache.hpp" +#include "../std/unique_ptr.hpp" + class Framework; class PaintEvent; namespace graphics { class Screen; } class BookmarkManager : private noncopyable { + unique_ptr<BookmarkCategory> m_routeCategory; vector<BookmarkCategory *> m_categories; string m_lastCategoryUrl; string m_lastType; @@ -83,6 +86,9 @@ public: void SetScreen(graphics::Screen * screen); void ResetScreen(); + BookmarkCategory * GetRouteCategory(); + void DeleteRouteCategory(); + private: UserMarkContainer const * FindUserMarksContainer(UserMarkContainer::Type type) const; UserMarkContainer * FindUserMarksContainer(UserMarkContainer::Type type); |