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>2019-06-20 19:20:53 +0300
committerArsentiy Milchakov <milcars@mapswithme.com>2019-06-25 12:34:06 +0300
commit7466969a8223994d09225b1133b4e1ddb2b4a7b0 (patch)
tree92e5bfd6d3cafc5c8bc07066c7b52a70d1b97183 /map/bookmark_catalog.hpp
parent37797b6f3da90db0ef49347c6b5ccc4f860de79f (diff)
Added bookmarks catalog pinger
Diffstat (limited to 'map/bookmark_catalog.hpp')
-rw-r--r--map/bookmark_catalog.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/map/bookmark_catalog.hpp b/map/bookmark_catalog.hpp
index 352f0fd609..c033713575 100644
--- a/map/bookmark_catalog.hpp
+++ b/map/bookmark_catalog.hpp
@@ -113,6 +113,9 @@ public:
UploadSuccessCallback && uploadSuccessCallback,
UploadErrorCallback && uploadErrorCallback);
+ using PingCallback = platform::SafeCallback<void(bool isSuccessful)>;
+ void Ping(PingCallback && callback) const;
+
// Handler can be called from non-UI thread.
void SetInvalidTokenHandler(InvalidTokenHandler && onInvalidToken);