diff options
author | Alex Zolotarev <alex@maps.me> | 2016-03-24 21:45:53 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2016-03-24 22:01:16 +0300 |
commit | b21a133ff472629f2aa5308bf2f30cdfd2047627 (patch) | |
tree | 0fbb136774e51ac5e82e21751110454145db6860 /indexer/osm_editor.hpp | |
parent | 50f87a44d9277c8ba22641c5d0290c36357b30c4 (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.hpp | 5 |
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. |