diff options
author | tatiana-yan <tatiana.kondakova@gmail.com> | 2018-06-28 16:00:51 +0300 |
---|---|---|
committer | Sergey Yershov <syershov@maps.me> | 2018-06-28 16:58:20 +0300 |
commit | 085a38aee90042d932d3f5b5bd577259fb51c3f8 (patch) | |
tree | 582d2a40de98482e3d6067b25521f7e2a9cf9e77 /editor/osm_editor.hpp | |
parent | 29be9091cad51749cf521924c98a3751b89b6016 (diff) |
[editor] Get rid of T prefixes
Diffstat (limited to 'editor/osm_editor.hpp')
-rw-r--r-- | editor/osm_editor.hpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/editor/osm_editor.hpp b/editor/osm_editor.hpp index 51236cdaee..8c74061eb5 100644 --- a/editor/osm_editor.hpp +++ b/editor/osm_editor.hpp @@ -65,7 +65,7 @@ public: Error, NothingToUpload }; - using TFinishUploadCallback = function<void(UploadResult)>; + using FinishUploadCallback = function<void(UploadResult)>; static Editor & Instance(); @@ -92,8 +92,8 @@ public: void OnMapDeregistered(platform::LocalCountryFile const & localFile) override; - using TFeatureIndexFunctor = function<void(uint32_t)>; - void ForEachFeatureInMwmRectAndScale(MwmSet::MwmId const & id, TFeatureIndexFunctor const & f, + using FeatureIndexFunctor = function<void(uint32_t)>; + void ForEachFeatureInMwmRectAndScale(MwmSet::MwmId const & id, FeatureIndexFunctor const & f, m2::RectD const & rect, int scale); // TODO(mgsergio): Unify feature functions signatures. @@ -140,11 +140,11 @@ public: bool HaveMapEditsOrNotesToUpload() const; bool HaveMapEditsToUpload(MwmSet::MwmId const & mwmId) const; bool HaveMapEditsToUpload() const; - using TChangesetTags = map<string, string>; + using ChangesetTags = 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. - void UploadChanges(string const & key, string const & secret, TChangesetTags tags, - TFinishUploadCallback callBack = TFinishUploadCallback()); + void UploadChanges(string const & key, string const & secret, ChangesetTags tags, + FinishUploadCallback callBack = FinishUploadCallback()); // TODO(mgsergio): Test new types from new config but with old classificator (where these types are absent). // Editor should silently ignore all types in config which are unknown to him. NewFeatureCategories GetNewFeatureCategories() const; |