diff options
author | Dmitry Yunitsky <yunik@mapswithme.com> | 2015-02-24 19:37:54 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:37:51 +0300 |
commit | 51eaec33fd7b9e59631136a41ab56e260134712d (patch) | |
tree | 622927c18ab9d4c1cc258feb64419c7cdd2a5187 /map/user_mark.hpp | |
parent | 569e8cbfe57e813083976ab961f4dd2acd2ed2a1 (diff) |
Pass metadata for POI from core to java.
Diffstat (limited to 'map/user_mark.hpp')
-rw-r--r-- | map/user_mark.hpp | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/map/user_mark.hpp b/map/user_mark.hpp index fb0b55cb51..5bf34c0db3 100644 --- a/map/user_mark.hpp +++ b/map/user_mark.hpp @@ -2,6 +2,8 @@ #include "../geometry/point2d.hpp" +#include "../indexer/feature.hpp" + #include "../search/result.hpp" #include "../std/string.hpp" @@ -123,6 +125,10 @@ public: search::AddressInfo const & GetInfo() const { return m_info; } void SetInfo(search::AddressInfo const & info) { m_info = info; } + + feature::FeatureMetadata const & GetMetadata() const { return m_metadata; } + void SetMetadata(feature::FeatureMetadata const & metadata) { m_metadata = metadata; } + virtual UserMarkCopy * Copy() const { return new UserMarkCopy(new SearchMarkPoint(m_info, m_ptOrg, m_container)); @@ -130,6 +136,7 @@ public: protected: search::AddressInfo m_info; + feature::FeatureMetadata m_metadata; }; class PoiMarkPoint : public SearchMarkPoint |