summaryrefslogtreecommitdiff
path: root/platform/osx
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-03-06 23:57:09 -0800
committerMinh Nguyễn <mxn@1ec5.org>2016-03-10 17:08:58 -0800
commitf5ac63dfeccc185bc198b21f3ff6f87a9017848d (patch)
treeab9da2f017d31065cbf2d288b3e863cf9fa2c5db /platform/osx
parente36218a8668316e8c1b0bcc06d43dad31461615c (diff)
downloadqtlocation-mapboxgl-f5ac63dfeccc185bc198b21f3ff6f87a9017848d.tar.gz
[ios, osx] Renamed offline classes
Renamed SDK classes related to offline viewing to more closely match the terminology used by mbgl and the Android SDK while remaining consistent with Cocoa naming principles.
Diffstat (limited to 'platform/osx')
-rw-r--r--platform/osx/sdk/Mapbox.h8
-rw-r--r--platform/osx/sdk/Mapbox.m10
2 files changed, 9 insertions, 9 deletions
diff --git a/platform/osx/sdk/Mapbox.h b/platform/osx/sdk/Mapbox.h
index 018d16b3c0..62f050130b 100644
--- a/platform/osx/sdk/Mapbox.h
+++ b/platform/osx/sdk/Mapbox.h
@@ -9,20 +9,20 @@ FOUNDATION_EXPORT const unsigned char MapboxVersionString[];
#import <Mapbox/MGLAccountManager.h>
#import <Mapbox/MGLAnnotation.h>
#import <Mapbox/MGLAnnotationImage.h>
-#import <Mapbox/MGLDownloadable.h>
-#import <Mapbox/MGLDownloadRegion.h>
-#import <Mapbox/MGLDownloadController.h>
#import <Mapbox/MGLGeometry.h>
#import <Mapbox/MGLMapCamera.h>
#import <Mapbox/MGLMapView.h>
#import <Mapbox/MGLMapView+IBAdditions.h>
#import <Mapbox/MGLMapViewDelegate.h>
#import <Mapbox/MGLMultiPoint.h>
+#import <Mapbox/MGLOfflineRegion.h>
+#import <Mapbox/MGLOfflineStorage.h>
+#import <Mapbox/MGLOfflineTask.h>
#import <Mapbox/MGLOverlay.h>
#import <Mapbox/MGLPointAnnotation.h>
#import <Mapbox/MGLPolygon.h>
#import <Mapbox/MGLPolyline.h>
#import <Mapbox/MGLShape.h>
#import <Mapbox/MGLStyle.h>
-#import <Mapbox/MGLTilePyramidDownloadRegion.h>
+#import <Mapbox/MGLTilePyramidOfflineRegion.h>
#import <Mapbox/MGLTypes.h>
diff --git a/platform/osx/sdk/Mapbox.m b/platform/osx/sdk/Mapbox.m
index 5246124088..2ec28260d2 100644
--- a/platform/osx/sdk/Mapbox.m
+++ b/platform/osx/sdk/Mapbox.m
@@ -1,8 +1,8 @@
#import <Mapbox/Mapbox.h>
#import "../src/MGLMapView_Private.h"
-#import "../src/NSBundle+MGLAdditions.h"
-#import "../src/NSProcessInfo+MGLAdditions.h"
+#import "../../darwin/src/NSBundle+MGLAdditions.h"
+#import "../../darwin/src/NSProcessInfo+MGLAdditions.h"
#import "../../darwin/src/NSString+MGLAdditions.h"
__attribute__((constructor))
@@ -19,15 +19,15 @@ static void InitializeMapbox() {
[MGLAccountManager class];
[MGLAnnotationImage class];
- [MGLDownloadable class];
- [MGLDownloadController class];
[MGLMapCamera class];
[MGLMapView class];
[MGLMultiPoint class];
+ [MGLOfflineStorage class];
+ [MGLOfflineTask class];
[MGLPointAnnotation class];
[MGLPolygon class];
[MGLPolyline class];
[MGLShape class];
[MGLStyle class];
- [MGLTilePyramidDownloadRegion class];
+ [MGLTilePyramidOfflineRegion class];
}