diff options
author | Minh Nguyễn <mxn@1ec5.org> | 2018-08-09 04:10:06 -0700 |
---|---|---|
committer | Minh Nguyễn <mxn@1ec5.org> | 2018-08-09 19:23:42 -0700 |
commit | c2f7d8a9fd8d59499379dac20b50dab79be5e2f9 (patch) | |
tree | ac7c27da5d798d30f995b5a1b304970fdfc47ef8 /platform/macos/app/AppDelegate.h | |
parent | bd2062f006a13e82e30619e55c77f867b1ed6e0e (diff) | |
download | qtlocation-mapboxgl-c2f7d8a9fd8d59499379dac20b50dab79be5e2f9.tar.gz |
[macos] Play sound when offline pack completes or errors
Play a sound when an offline pack being added finishes downloading or encounters an error.
Diffstat (limited to 'platform/macos/app/AppDelegate.h')
-rw-r--r-- | platform/macos/app/AppDelegate.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/platform/macos/app/AppDelegate.h b/platform/macos/app/AppDelegate.h index a1d9297b2f..87b7514292 100644 --- a/platform/macos/app/AppDelegate.h +++ b/platform/macos/app/AppDelegate.h @@ -21,4 +21,6 @@ extern NSString * const MGLMapboxAccessTokenDefaultsKey; @property (copy) NSURL *pendingStyleURL; @property (assign) MGLMapDebugMaskOptions pendingDebugMask; +- (void)watchOfflinePack:(MGLOfflinePack *)pack; + @end |