Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
16 lines
458 B
C++
16 lines
458 B
C++
#pragma once
|
|
|
|
namespace mln {
|
|
|
|
// Tiles can have two states: optional or required.
|
|
// - optional means that only low-cost actions should be taken to obtain the data
|
|
// (e.g. load from cache, but accept stale data)
|
|
// - required means that every effort should be taken to obtain the data (e.g. load
|
|
// from internet and keep the data fresh if it expires)
|
|
enum class TileNecessity : bool {
|
|
Optional = false,
|
|
Required = true,
|
|
};
|
|
|
|
} // namespace mln
|