diff options
author | Brent Whitman <brent@pathym.com> | 2016-04-26 13:40:46 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2016-04-27 13:41:29 -0700 |
commit | a706a2a48d6ca2076c9c81a0cb0c088ae50d1496 (patch) | |
tree | 07076716389c63588d9d11ef418a0d13b79d7ea2 /include | |
parent | 6ea257fa6adb0855f49623f1b4d1a241635f2457 (diff) | |
download | qtlocation-mapboxgl-a706a2a48d6ca2076c9c81a0cb0c088ae50d1496.tar.gz |
[ios, osx] Add a property for bytes used by offline tiles
Diffstat (limited to 'include')
-rw-r--r-- | include/mbgl/storage/offline.hpp | 7 |
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 |