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-03-24 21:45:53 +0300
committerAlex Zolotarev <alex@maps.me>2016-03-24 22:01:16 +0300
commitb21a133ff472629f2aa5308bf2f30cdfd2047627 (patch)
tree0fbb136774e51ac5e82e21751110454145db6860 /indexer/osm_editor.hpp
parent50f87a44d9277c8ba22641c5d0290c36357b30c4 (diff)
[editor] Separate editor method for map edits to upload, to avoid unnecessary upload cycle if only notes should be updated.
Diffstat (limited to 'indexer/osm_editor.hpp')
-rw-r--r--indexer/osm_editor.hpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/indexer/osm_editor.hpp b/indexer/osm_editor.hpp
index 4c8e53fe37..c41e2e1f7e 100644
--- a/indexer/osm_editor.hpp
+++ b/indexer/osm_editor.hpp
@@ -102,8 +102,9 @@ public:
EditableProperties GetEditableProperties(FeatureType const & feature) const;
- bool HaveSomethingToUpload() const;
- bool HaveSomethingToUpload(MwmSet::MwmId const & mwmId) const;
+ bool HaveMapEditsOrNotesToUpload() const;
+ bool HaveMapEditsToUpload(MwmSet::MwmId const & mwmId) const;
+ bool HaveMapEditsToUpload() const;
using TChangesetTags = map<string, string>;
/// Tries to upload all local changes to OSM server in a separate thread.
/// @param[in] tags should provide additional information about client to use in changeset.