summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorMolly Lloyd <mollymerp@users.noreply.github.com>2016-09-20 11:43:00 -0400
committerTobrun <tobrun.van.nuland@gmail.com>2016-09-20 17:43:00 +0200
commit598f7c6ad5147417c7241514f1fdece348a9b997 (patch)
tree0e238b65c58cd0cd3cb5b9f10a12c35715ae9969 /include
parent97da3872737ea08bdb2f50a22baf08aab123fafb (diff)
downloadqtlocation-mapboxgl-598f7c6ad5147417c7241514f1fdece348a9b997.tar.gz
[core] allow offline region metadata to be updated (#6338)
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/storage/default_file_source.hpp7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/mbgl/storage/default_file_source.hpp b/include/mbgl/storage/default_file_source.hpp
index ab9c2bc6a0..4340496af9 100644
--- a/include/mbgl/storage/default_file_source.hpp
+++ b/include/mbgl/storage/default_file_source.hpp
@@ -65,6 +65,13 @@ public:
optional<OfflineRegion>)>);
/*
+ * Update an offline region metadata in the database.
+ */
+ void updateOfflineMetadata(const int64_t regionID,
+ const OfflineRegionMetadata& metadata,
+ std::function<void (std::exception_ptr,
+ optional<OfflineRegionMetadata>)>);
+ /*
* Register an observer to be notified when the state of the region changes.
*/
void setOfflineRegionObserver(OfflineRegion&, std::unique_ptr<OfflineRegionObserver>);