summaryrefslogtreecommitdiff
path: root/platform/darwin/src/MGLSource_Private.h
diff options
context:
space:
mode:
authorMinh Nguyễn <mxn@1ec5.org>2016-08-15 15:29:42 -0700
committerMinh Nguyễn <mxn@1ec5.org>2016-08-16 16:46:04 -0700
commit5539a90c48dd5e7bb10d571a09ebd2df52cb44b8 (patch)
tree1a28e47449366824548b0476253d81e0f50ea926 /platform/darwin/src/MGLSource_Private.h
parent56e39b5ecbbe1781ad476a03e6d18c532713a471 (diff)
downloadqtlocation-mapboxgl-5539a90c48dd5e7bb10d571a09ebd2df52cb44b8.tar.gz
[ios, macos] Renamed Objective-C++ headers to .h
Also removed a redundant reference to MGLStyle_Private.h in ios.xcodeproj. Fixes #5952.
Diffstat (limited to 'platform/darwin/src/MGLSource_Private.h')
-rw-r--r--platform/darwin/src/MGLSource_Private.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/platform/darwin/src/MGLSource_Private.h b/platform/darwin/src/MGLSource_Private.h
new file mode 100644
index 0000000000..bbbd556635
--- /dev/null
+++ b/platform/darwin/src/MGLSource_Private.h
@@ -0,0 +1,10 @@
+#import "MGLSource.h"
+
+#include <mbgl/mbgl.hpp>
+#include <mbgl/style/source.hpp>
+
+@interface MGLSource (Private)
+
+- (std::unique_ptr<mbgl::style::Source>)mbgl_source;
+
+@end