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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2018-03-22 13:13:58 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2018-03-22 13:42:25 +0300
commit07ef48a7cecce035058e0bd66748791f7f3132a9 (patch)
tree86f639314f634e66027708650cc232b64cdc7210 /map/bookmark_manager.hpp
parent7c77a3cea6b1418e94f75567f74e747f78144f17 (diff)
Added new util methods to BookmarkManager
Diffstat (limited to 'map/bookmark_manager.hpp')
-rw-r--r--map/bookmark_manager.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/map/bookmark_manager.hpp b/map/bookmark_manager.hpp
index 583c45244e..4dd533a9b7 100644
--- a/map/bookmark_manager.hpp
+++ b/map/bookmark_manager.hpp
@@ -226,6 +226,11 @@ public:
bool IsCategoryEmpty(df::MarkGroupID categoryId) const;
+ bool IsUsedCategoryName(std::string const & name) const;
+ bool AreAllCategoriesVisible() const;
+ bool AreAllCategoriesInvisible() const;
+ void SetAllCategoriesVisibility(bool visible);
+
/// These functions are public for unit tests only. You shouldn't call them from client code.
void SaveToKML(df::MarkGroupID groupId, std::ostream & s);
void CreateCategories(KMLDataCollection && dataCollection, bool autoSave = true);