summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKonstantin Käfer <mail@kkaefer.com>2015-05-26 11:13:08 +0200
committerKonstantin Käfer <mail@kkaefer.com>2015-05-26 11:13:08 +0200
commitf11a9f8fd9f4a53195168518f6ef1efe782f1cf8 (patch)
tree5ad9a28dd9d4b12a7bf1f29ce119f21ac02ca041 /include
parentba3a6ea2b0ab60ac66db0add9f98a042c8c62477 (diff)
downloadqtlocation-mapboxgl-f11a9f8fd9f4a53195168518f6ef1efe782f1cf8.tar.gz
prefix Reachability with "MGL" to avoid linking conflicts and app store rejections
Diffstat (limited to 'include')
-rw-r--r--include/mbgl/platform/darwin/reachability.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mbgl/platform/darwin/reachability.h b/include/mbgl/platform/darwin/reachability.h
index 8cb2a6fe70..0101b91d48 100644
--- a/include/mbgl/platform/darwin/reachability.h
+++ b/include/mbgl/platform/darwin/reachability.h
@@ -47,13 +47,13 @@ typedef NS_ENUM(NSInteger, NetworkStatus) {
ReachableViaWWAN = 1
};
-@class Reachability;
+@class MGLReachability;
-typedef void (^NetworkReachable)(Reachability * reachability);
-typedef void (^NetworkUnreachable)(Reachability * reachability);
+typedef void (^NetworkReachable)(MGLReachability * reachability);
+typedef void (^NetworkUnreachable)(MGLReachability * reachability);
-@interface Reachability : NSObject
+@interface MGLReachability : NSObject
@property (nonatomic, copy) NetworkReachable reachableBlock;
@property (nonatomic, copy) NetworkUnreachable unreachableBlock;