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:
authorSergey Magidovich <mgsergio@mapswithme.com>2016-03-01 13:48:18 +0300
committerSergey Yershov <yershov@corp.mail.ru>2016-03-23 16:51:12 +0300
commit77059ed4fcf2b5dd32c7c8eb15010ff2c3677e9f (patch)
tree12eec6654ac188e525661c0c65c2740a2b8d5d71 /indexer/editable_map_object.hpp
parent57a9e0cd90cc98e3bb7afa4207b0de2aebc07b14 (diff)
Add editor config.
Diffstat (limited to 'indexer/editable_map_object.hpp')
-rw-r--r--indexer/editable_map_object.hpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indexer/editable_map_object.hpp b/indexer/editable_map_object.hpp
index 5805555dcf..526c08af73 100644
--- a/indexer/editable_map_object.hpp
+++ b/indexer/editable_map_object.hpp
@@ -17,6 +17,15 @@ namespace osm
/// Holds information to construct editor's UI.
struct EditableProperties
{
+ EditableProperties() = default;
+ EditableProperties(vector<feature::Metadata::EType> const & metadata,
+ bool name, bool address)
+ : m_name(name),
+ m_address(address),
+ m_metadata(metadata)
+ {
+ }
+
bool m_name = false;
/// If true, enables editing of house number, street address and post code.
bool m_address = false;