summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBruno de Oliveira Abinader <bruno@mapbox.com>2019-08-29 16:52:15 +0300
committerBruno de Oliveira Abinader <bruno@mapbox.com>2019-08-29 18:22:59 +0300
commit544aabd0204235579e99fe4d9b8c2de16f70e897 (patch)
tree728b14faffd913a8e198193060846b0d64da0732 /include
parente9d0fd14dc021c86077c86d5c6a7c4839f6a2cbc (diff)
downloadqtlocation-mapboxgl-544aabd0204235579e99fe4d9b8c2de16f70e897.tar.gz
[core] Add requiredTileCount to OfflineRegionStatus
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/storage/offline.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/mbgl/storage/offline.hpp b/include/mbgl/storage/offline.hpp
index f702f47edc..baf43dc5f5 100644
--- a/include/mbgl/storage/offline.hpp
+++ b/include/mbgl/storage/offline.hpp
@@ -129,6 +129,11 @@ public:
uint64_t completedTileCount = 0;
/**
+ * The number of tiles that are known to be required for this region.
+ */
+ uint64_t requiredTileCount = 0;
+
+ /**
* The cumulative size, in bytes, of all tiles that have been fully downloaded.
* This is a subset of `completedResourceSize`.
*/