summaryrefslogtreecommitdiff
path: root/include/mbgl/storage
diff options
context:
space:
mode:
authorBrent Whitman <brent@pathym.com>2016-04-26 13:40:46 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-04-27 13:41:29 -0700
commita706a2a48d6ca2076c9c81a0cb0c088ae50d1496 (patch)
tree07076716389c63588d9d11ef418a0d13b79d7ea2 /include/mbgl/storage
parent6ea257fa6adb0855f49623f1b4d1a241635f2457 (diff)
downloadqtlocation-mapboxgl-a706a2a48d6ca2076c9c81a0cb0c088ae50d1496.tar.gz
[ios, osx] Add a property for bytes used by offline tiles
Diffstat (limited to 'include/mbgl/storage')
-rw-r--r--include/mbgl/storage/offline.hpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/include/mbgl/storage/offline.hpp b/include/mbgl/storage/offline.hpp
index a3153adc28..2c6ca05eec 100644
--- a/include/mbgl/storage/offline.hpp
+++ b/include/mbgl/storage/offline.hpp
@@ -93,9 +93,14 @@ public:
uint64_t completedResourceCount = 0;
/**
- * The cumulative size, in bytes, of all resources that have been fully downloaded.
+ * The cumulative size, in bytes, of all resources (inclusive of tiles) that have been fully downloaded.
*/
uint64_t completedResourceSize = 0;
+
+ /**
+ * The cumulative size, in bytes, of all tiles that have been fully downloaded.
+ */
+ uint64_t completedTileSize = 0;
/**
* The number of resources that are known to be required for this region. See the