Files prefix changed from MGL to MLN (#919)
This commit is contained in:
@@ -2,13 +2,13 @@
|
||||
|
||||
NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@class MGLNativeNetworkManager;
|
||||
@class MLNNativeNetworkManager;
|
||||
|
||||
@protocol MGLNativeNetworkDelegate <NSObject>
|
||||
@protocol MLNNativeNetworkDelegate <NSObject>
|
||||
|
||||
@optional
|
||||
|
||||
- (NSURLSession *)sessionForNetworkManager:(MGLNativeNetworkManager *)networkManager;
|
||||
- (NSURLSession *)sessionForNetworkManager:(MLNNativeNetworkManager *)networkManager;
|
||||
|
||||
@required
|
||||
|
||||
@@ -26,13 +26,13 @@ NS_ASSUME_NONNULL_BEGIN
|
||||
|
||||
@end
|
||||
|
||||
#define MGL_APPLE_EXPORT __attribute__((visibility ("default")))
|
||||
#define MLN_APPLE_EXPORT __attribute__((visibility ("default")))
|
||||
|
||||
@interface MGLNativeNetworkManager: NSObject
|
||||
@interface MLNNativeNetworkManager: NSObject
|
||||
|
||||
+ (MGLNativeNetworkManager *)sharedManager;
|
||||
+ (MLNNativeNetworkManager *)sharedManager;
|
||||
|
||||
@property (nonatomic, weak) id<MGLNativeNetworkDelegate> delegate;
|
||||
@property (nonatomic, weak) id<MLNNativeNetworkDelegate> delegate;
|
||||
|
||||
@property (nonatomic, readonly) NSURLSessionConfiguration *sessionConfiguration;
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#define NS_ENUM(_type, _name) enum _name : _type _name; enum _name : _type
|
||||
#endif
|
||||
|
||||
extern NSString *const kMGLReachabilityChangedNotification;
|
||||
extern NSString *const kMLNReachabilityChangedNotification;
|
||||
|
||||
typedef NS_ENUM(NSInteger, NetworkStatus) {
|
||||
// Apple NetworkStatus Compatible Names.
|
||||
@@ -47,13 +47,13 @@ typedef NS_ENUM(NSInteger, NetworkStatus) {
|
||||
ReachableViaWWAN = 1
|
||||
};
|
||||
|
||||
@class MGLReachability;
|
||||
@class MLNReachability;
|
||||
|
||||
typedef void (^NetworkReachable)(MGLReachability * reachability);
|
||||
typedef void (^NetworkUnreachable)(MGLReachability * reachability);
|
||||
typedef void (^NetworkReachable)(MLNReachability * reachability);
|
||||
typedef void (^NetworkUnreachable)(MLNReachability * reachability);
|
||||
|
||||
|
||||
@interface MGLReachability : NSObject
|
||||
@interface MLNReachability : NSObject
|
||||
|
||||
@property (nonatomic, copy) NetworkReachable reachableBlock;
|
||||
@property (nonatomic, copy) NetworkUnreachable unreachableBlock;
|
||||
|
||||
@@ -5,8 +5,8 @@
|
||||
#include <CoreGraphics/CGImage.h>
|
||||
|
||||
// Creates a CGImage from a PremultipliedImage, taking over the memory ownership.
|
||||
CGImageRef CGImageCreateWithMGLPremultipliedImage(mbgl::PremultipliedImage&&);
|
||||
CGImageRef CGImageCreateWithMLNPremultipliedImage(mbgl::PremultipliedImage&&);
|
||||
|
||||
// Creates a PremultipliedImage by copying the pixels of the CGImage.
|
||||
// Does not alter the retain count of the supplied CGImage.
|
||||
mbgl::PremultipliedImage MGLPremultipliedImageFromCGImage(CGImageRef);
|
||||
mbgl::PremultipliedImage MLNPremultipliedImageFromCGImage(CGImageRef);
|
||||
Reference in New Issue
Block a user