diff options
author | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-04-15 21:12:24 +0300 |
---|---|---|
committer | Sergey Magidovich <mgsergio@mapswithme.com> | 2016-04-15 21:12:24 +0300 |
commit | 6ccd95c7cfb468839b6206bd65b8fc0fdf595e3e (patch) | |
tree | 6e572f9de63d362a957b0863446b85972f4acd30 /indexer/osm_editor.hpp | |
parent | 956647dc1182c3b8c5fbf7e98c23e31185c2c438 (diff) |
Set "Place doesn't exist" text in core when making a note.
Diffstat (limited to 'indexer/osm_editor.hpp')
-rw-r--r-- | indexer/osm_editor.hpp | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/indexer/osm_editor.hpp b/indexer/osm_editor.hpp index f73df79d63..dbd5c27796 100644 --- a/indexer/osm_editor.hpp +++ b/indexer/osm_editor.hpp @@ -114,9 +114,13 @@ public: // Editor should silently ignore all types in config which are unknown to him. NewFeatureCategories GetNewFeatureCategories() const; - bool CreatePoint(uint32_t type, m2::PointD const & mercator, MwmSet::MwmId const & id, EditableMapObject & outFeature); + bool CreatePoint(uint32_t type, m2::PointD const & mercator, + MwmSet::MwmId const & id, EditableMapObject & outFeature); - void CreateNote(ms::LatLon const & latLon, string const & note); + // Predefined messages. + static const char * const kPlaceDoesNotExistMessage; + + void CreateNote(ms::LatLon const & latLon, FeatureID const & fid, string const & note); void UploadNotes(string const & key, string const & secret); struct Stats |