From 07ef48a7cecce035058e0bd66748791f7f3132a9 Mon Sep 17 00:00:00 2001 From: "r.kuznetsov" Date: Thu, 22 Mar 2018 13:13:58 +0300 Subject: Added new util methods to BookmarkManager --- map/bookmark_manager.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'map/bookmark_manager.hpp') 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); -- cgit v1.2.3