summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLOfflinePack.h
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 /platform/darwin/src/MGLOfflinePack.h
parent6ea257fa6adb0855f49623f1b4d1a241635f2457 (diff)
downloadqtlocation-mapboxgl-a706a2a48d6ca2076c9c81a0cb0c088ae50d1496.tar.gz
[ios, osx] Add a property for bytes used by offline tiles
Diffstat (limited to 'platform/darwin/src/MGLOfflinePack.h')
-rw-r--r--platform/darwin/src/MGLOfflinePack.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/platform/darwin/src/MGLOfflinePack.h b/platform/darwin/src/MGLOfflinePack.h
index 083e050ddd..0584abe225 100644
--- a/platform/darwin/src/MGLOfflinePack.h
+++ b/platform/darwin/src/MGLOfflinePack.h
@@ -60,10 +60,14 @@ typedef struct MGLOfflinePackProgress {
*/
uint64_t countOfResourcesCompleted;
/**
- The cumulative size of the downloaded resources on disk, measured in bytes.
+ The cumulative size of the downloaded resources (inclusive of tiles) on disk, measured in bytes.
*/
uint64_t countOfBytesCompleted;
/**
+ The cumulative size of the downloaded tiles on disk, measured in bytes.
+ */
+ uint64_t countOfTileBytesCompleted;
+ /**
The minimum number of resources that must be downloaded in order to view
the pack’s full region without any omissions.