Add iOS/macOS observer hooks (#3245)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Co-authored-by: Bart Louwers <bart@emeel.net>
This commit is contained in:
@@ -93,6 +93,7 @@ MLN_DARWIN_OBJC_HEADERS = [
|
||||
"src/MLNStyle.h",
|
||||
"src/MLNStyleLayer.h",
|
||||
"src/MLNStyleValue.h",
|
||||
"src/MLNTileOperation.h",
|
||||
"src/MLNTilePyramidOfflineRegion.h",
|
||||
"src/MLNTileServerOptions.h",
|
||||
"src/MLNTileSource.h",
|
||||
|
||||
13
platform/darwin/src/MLNTileOperation.h
Normal file
13
platform/darwin/src/MLNTileOperation.h
Normal file
@@ -0,0 +1,13 @@
|
||||
#import <Foundation/Foundation.h>
|
||||
|
||||
typedef NS_ENUM(NSInteger, MLNTileOperation) {
|
||||
MLNTileOperationRequestedFromCache, ///< A read request from the cache
|
||||
MLNTileOperationRequestedFromNetwork, ///< A read request from the online source
|
||||
MLNTileOperationLoadFromNetwork, ///< Tile data from the network has been retrieved
|
||||
MLNTileOperationLoadFromCache, ///< Tile data from the cache has been retrieved
|
||||
MLNTileOperationStartParse, ///< Background processing of tile data has been initiated
|
||||
MLNTileOperationEndParse, ///< Background processing of tile data has been completed
|
||||
MLNTileOperationError, ///< An error occurred while loading the tile
|
||||
MLNTileOperationCancelled, ///< Loading of a tile was cancelled
|
||||
MLNTileOperationNullOp, ///< No operation has taken place
|
||||
};
|
||||
Reference in New Issue
Block a user