summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlexander Shalamov <alexander.shalamov@mapbox.com>2020-01-24 20:19:58 +0200
committerAlexander Shalamov <alexander.shalamov@mapbox.com>2020-01-27 14:25:37 +0300
commit9ec2e2aff79e9a94d751a7644daf229261ecfe4c (patch)
treec8f3994c84e47ddb418a0a264515dba13e0c1d1e /include
parent429292fb9898cbcf3f2a0b644e01277473124252 (diff)
downloadqtlocation-mapboxgl-9ec2e2aff79e9a94d751a7644daf229261ecfe4c.tar.gz
[core] Add pause and resume to database filesource implementation
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/storage/database_file_source.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/mbgl/storage/database_file_source.hpp b/include/mbgl/storage/database_file_source.hpp
index 8ccb5ce39b..81e5315fd8 100644
--- a/include/mbgl/storage/database_file_source.hpp
+++ b/include/mbgl/storage/database_file_source.hpp
@@ -20,6 +20,8 @@ public:
void forward(const Resource&, const Response&, std::function<void()> callback) override;
bool canRequest(const Resource&) const override;
void setProperty(const std::string&, const mapbox::base::Value&) override;
+ void pause() override;
+ void resume() override;
// Methods common to Ambient cache and Offline functionality