23 load(
const std::filesystem::path &path)
const = 0;
A result type that maintains a chainable sequence of errors for debugging and error reporting.
A service interface that loads a fixed-length Palette from a given file.
virtual ChainableResult< Palette< Rgba32, pal::max_size > > load(const std::filesystem::path &path) const =0
virtual ~FilePalLoader()=default
virtual ChainableResult< Palette< Rgba32, pal::max_size > > load_with_wildcards(const std::filesystem::path &path) const =0