Files
MapLibreParticleLab/include/mbgl/tile/tile_operation.hpp
mwilsnd bb34568af2 Add extra observer hooks for interesting internal processes (#2694)
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
2024-09-03 17:48:03 -04:00

17 lines
757 B
C++

#pragma once
#include <cstdint>
namespace mbgl {
enum class TileOperation : uint8_t {
RequestedFromCache, ///< A read request from the cache
RequestedFromNetwork, ///< A read request from the online source
LoadFromNetwork, ///< Tile data from the network has been retrieved
LoadFromCache, ///< Tile data from the cache has been retrieved
StartParse, ///< Background processing of tile data has been initiated
EndParse, ///< Background processing of tile data has been completed
Error, ///< An error occurred while loading the tile
Cancelled, ///< Loading of a tile was cancelled
NullOp, ///< No operation has taken place
};
} // namespace mbgl