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:
authorvng <viktor.govako@gmail.com>2013-08-16 18:59:44 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 01:59:45 +0300
commite2dd416da70ceb04f756cba5a33b3acfb103ef45 (patch)
treeb459123174b61ab29f52fa36dde905469dc6e580 /map/bookmark.hpp
parent1269e13617f552b6404efca5bbf3c4b2107349f8 (diff)
Save last category and color for bookmarks.
Diffstat (limited to 'map/bookmark.hpp')
-rw-r--r--map/bookmark.hpp11
1 files changed, 4 insertions, 7 deletions
diff --git a/map/bookmark.hpp b/map/bookmark.hpp
index 7fc22b73a5..a2e04ad42a 100644
--- a/map/bookmark.hpp
+++ b/map/bookmark.hpp
@@ -30,10 +30,10 @@ public:
m2::PointD const & GetOrg() const { return m_org; }
string const & GetName() const { return m_name; }
- void SetName(string const & name) { m_name = name; }
+ //void SetName(string const & name) { m_name = name; }
/// @return Now its a bookmark color - name of icon file
string const & GetType() const { return m_type; }
- void SetType(string const & type) { m_type = type; }
+ //void SetType(string const & type) { m_type = type; }
m2::RectD GetViewport() const { return m2::RectD(m_org, m_org); }
string const & GetDescription() const { return m_description; }
@@ -47,11 +47,6 @@ public:
void SetScale(double scale) { m_scale = scale; }
};
-namespace bookmark_impl
-{
- class KMLParser;
-}
-
class BookmarkCategory : private noncopyable
{
string m_name;
@@ -70,6 +65,8 @@ public:
void ClearBookmarks();
+ static string GetDefaultType();
+
/// @name Theese functions are called from Framework only.
//@{
void AddBookmark(Bookmark const & bm);