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:
authorr.kuznetsov <r.kuznetsov@corp.mail.ru>2018-08-16 10:50:56 +0300
committerDaria Volvenkova <d.volvenkova@corp.mail.ru>2018-08-16 13:04:01 +0300
commit681e700e4d0469303ac5571704bd4fbb6bc8e595 (patch)
tree1a7dc78b408887bd3dc347fe6294d709ca44fbb2 /map/bookmark_catalog.hpp
parente7c03032872ed07c8b3aebb5a7c2016d583e56ea (diff)
Fixed registration KML in the catalog
Diffstat (limited to 'map/bookmark_catalog.hpp')
-rw-r--r--map/bookmark_catalog.hpp8
1 files changed, 3 insertions, 5 deletions
diff --git a/map/bookmark_catalog.hpp b/map/bookmark_catalog.hpp
index 16002eb8bc..e0a96412c7 100644
--- a/map/bookmark_catalog.hpp
+++ b/map/bookmark_catalog.hpp
@@ -11,10 +11,8 @@
class BookmarkCatalog
{
public:
- explicit BookmarkCatalog(std::string const & catalogDir);
-
- void RegisterDownloadedId(std::string const & id);
- void UnregisterDownloadedId(std::string const & id);
+ void RegisterByServerId(std::string const & id);
+ void UnregisterByServerId(std::string const & id);
void Download(std::string const & id, std::string const & name,
std::function<void()> && startHandler,
platform::RemoteFile::ResultHandler && finishHandler);
@@ -29,5 +27,5 @@ public:
private:
std::map<std::string, std::string> m_downloadingIds;
- std::set<std::string> m_downloadedIds;
+ std::set<std::string> m_registeredInCatalog;
};