diff options
author | Alex Zolotarev <alex@maps.me> | 2016-04-07 13:01:45 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2016-04-07 19:56:54 +0300 |
commit | 1965b193d44970b212ca4463f1b25bf30632c891 (patch) | |
tree | 8fc4cb2691f8fafe9ae8aa5485c19982d7386b2f /indexer/map_object.hpp | |
parent | 220f32610fb17126e989ed121363021834912efc (diff) |
MapObject::IsBuilding() to display additional options in UI for buildings.
Diffstat (limited to 'indexer/map_object.hpp')
-rw-r--r-- | indexer/map_object.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/indexer/map_object.hpp b/indexer/map_object.hpp index a97dae8b7c..a26db39d04 100644 --- a/indexer/map_object.hpp +++ b/indexer/map_object.hpp @@ -95,6 +95,8 @@ public: feature::Metadata const & GetMetadata() const; bool IsPointType() const; + /// @returns true if object is of building type. + bool IsBuilding() const; protected: FeatureID m_featureID; |