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-06 14:00:39 +0300
committerAlex Zolotarev <alex@maps.me>2016-04-07 19:56:13 +0300
commite1c035e234812b37bc274705d5bac8d10d7089d4 (patch)
tree6619a3f2b32bc7fa370603deed13869f8a05d25f /indexer/editable_map_object.hpp
parent690601fd895caae11fec3ea3f36fca927a481878 (diff)
[editor] Method to show/hide Add Organisation button.
Diffstat (limited to 'indexer/editable_map_object.hpp')
-rw-r--r--indexer/editable_map_object.hpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indexer/editable_map_object.hpp b/indexer/editable_map_object.hpp
index 3f4aaa2322..3649670b98 100644
--- a/indexer/editable_map_object.hpp
+++ b/indexer/editable_map_object.hpp
@@ -48,6 +48,7 @@ class EditableMapObject : public MapObject
public:
bool IsNameEditable() const;
bool IsAddressEditable() const;
+ bool ShouldDisplayAddOrganisationButton() const;
vector<Props> GetEditableProperties() const;
// TODO(AlexZ): Remove this method and use GetEditableProperties() in UI.