diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-10-05 13:42:17 +0300 |
---|---|---|
committer | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-10-17 17:16:47 +0300 |
commit | 3c0bac96e9e0b746bc2e156a81ea77e2bb660e9e (patch) | |
tree | cb7c0637b87bb48a7e4475ea746536dc49d9b616 /map/place_page_info.hpp | |
parent | 989154cb73d24f4ce44e38a64cffb438c4299778 (diff) |
[map] Refactored work of bookmark
Diffstat (limited to 'map/place_page_info.hpp')
-rw-r--r-- | map/place_page_info.hpp | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/map/place_page_info.hpp b/map/place_page_info.hpp index ece891102e..2a150f4b43 100644 --- a/map/place_page_info.hpp +++ b/map/place_page_info.hpp @@ -54,6 +54,9 @@ public: /// @returns empty string or GetStars() count of ★ symbol. string FormatStars() const; + /// @returns coordinate in DMS format if isDMS is true + string GetFormattedCoordinate(bool isDMS) const; + string GetCustomName() const; BookmarkAndCategory GetBookmarkAndCategory() const; string GetBookmarkCategoryName() const; @@ -72,9 +75,15 @@ public: /// Comes from API, shared links etc. string m_customName; /// If not empty, bookmark is bound to this place page. - BookmarkAndCategory m_bac = MakeEmptyBookmarkAndCategory(); + BookmarkAndCategory m_bac; /// Bookmark category name. Empty, if it's not bookmark; string m_bookmarkCategoryName; + /// Bookmark title. Empty, if it's not bookmark; + string m_bookmarkTitle; + /// Bookmark color name. Empty, if it's not bookmark; + string m_bookmarkColorName; + /// Bookmark description. Empty, if it's not bookmark; + string m_bookmarkDescription; /// Api ID passed for the selected object. It's automatically included in api url below. string m_apiId; /// [Deep] link to open when "Back" button is pressed in a Place Page. |