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-04-15 21:12:24 +0300
committerSergey Magidovich <mgsergio@mapswithme.com>2016-04-15 21:12:24 +0300
commit6ccd95c7cfb468839b6206bd65b8fc0fdf595e3e (patch)
tree6e572f9de63d362a957b0863446b85972f4acd30 /indexer/osm_editor.hpp
parent956647dc1182c3b8c5fbf7e98c23e31185c2c438 (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.hpp8
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