[core] Added name setter to Bookmark

This commit is contained in:
Igor Khmurets 2014-05-12 00:40:34 +02:00 committed by Alex Zolotarev
parent b9900f8279
commit f01434415f

View file

@ -90,9 +90,9 @@ public:
virtual Type GetMarkType() const { return BOOKMARK; }
m2::PointD const & GetOrg() const { return UserMark::GetOrg(); }
string const & GetName() const { return m_data.GetName(); }
//void SetName(string const & name) { m_name = name; }
m2::PointD const & GetOrg() const { return m_org; }
string const & GetName() const { return m_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_data.GetType(); }
//void SetType(string const & type) { m_type = type; }