diff options
author | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-05-19 18:45:47 +0300 |
---|---|---|
committer | VladiMihaylenko <vxmihaylenko@gmail.com> | 2016-05-20 18:28:59 +0300 |
commit | 055e930ef381a7e90b52d2d5fa888ee5f4b398a2 (patch) | |
tree | bb9f606e15f06c911fe7567dcad54e7304eec02f /indexer/map_object.hpp | |
parent | a36f84742367fba6ce88771e36e892a1f1b92f50 (diff) |
[omim] Added booking data to place page.
Diffstat (limited to 'indexer/map_object.hpp')
-rw-r--r-- | indexer/map_object.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/indexer/map_object.hpp b/indexer/map_object.hpp index 4929efe00a..dc75cd0a9f 100644 --- a/indexer/map_object.hpp +++ b/indexer/map_object.hpp @@ -88,7 +88,6 @@ public: string GetWikipediaLink() const; string GetFlats() const; string GetBuildingLevels() const; - //@} // TODO(Vlad, yunikkk): Use Props enum + getters instead of direct metadata access. // TODO: Remove this method. @@ -97,6 +96,7 @@ public: bool IsPointType() const; /// @returns true if object is of building type. bool IsBuilding() const; + bool IsBookingObject() const; protected: FeatureID m_featureID; @@ -106,6 +106,8 @@ protected: feature::Metadata m_metadata; feature::EGeomType m_geomType = feature::EGeomType::GEOM_UNDEFINED; +private: + bool m_isBookingObject; }; /// Helper to convert internal feature::Metadata::FMD_* enum into a users-visible one. |