Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Zolotarev <alex@maps.me>2016-04-07 13:01:45 +0300
committerAlex Zolotarev <alex@maps.me>2016-04-07 19:56:54 +0300
commit1965b193d44970b212ca4463f1b25bf30632c891 (patch)
tree8fc4cb2691f8fafe9ae8aa5485c19982d7386b2f /indexer/editable_map_object.cpp
parent220f32610fb17126e989ed121363021834912efc (diff)
MapObject::IsBuilding() to display additional options in UI for buildings.
Diffstat (limited to 'indexer/editable_map_object.cpp')
-rw-r--r--indexer/editable_map_object.cpp6
1 files changed, 0 insertions, 6 deletions
diff --git a/indexer/editable_map_object.cpp b/indexer/editable_map_object.cpp
index c12443590f..132fe6f764 100644
--- a/indexer/editable_map_object.cpp
+++ b/indexer/editable_map_object.cpp
@@ -1,7 +1,6 @@
#include "indexer/classificator.hpp"
#include "indexer/cuisines.hpp"
#include "indexer/editable_map_object.hpp"
-#include "indexer/ftypes_matcher.hpp"
#include "base/macros.hpp"
#include "base/string_utils.hpp"
@@ -13,11 +12,6 @@ namespace osm
bool EditableMapObject::IsNameEditable() const { return m_editableProperties.m_name; }
bool EditableMapObject::IsAddressEditable() const { return m_editableProperties.m_address; }
-bool EditableMapObject::ShouldDisplayAddOrganisationButton() const
-{
- return ftypes::IsBuildingChecker::Instance()(m_types);
-}
-
vector<Props> EditableMapObject::GetEditableProperties() const
{
return MetadataToProps(m_editableProperties.m_metadata);