From 6ed8f5151719fbc14ec0ac6d28a346d1f74cf2ca Mon Sep 17 00:00:00 2001 From: Joel Klinghed Date: Fri, 2 Jan 2026 22:42:31 +0100 Subject: Initial commit --- src/image_loader.hh | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 src/image_loader.hh (limited to 'src/image_loader.hh') diff --git a/src/image_loader.hh b/src/image_loader.hh new file mode 100644 index 0000000..d283624 --- /dev/null +++ b/src/image_loader.hh @@ -0,0 +1,15 @@ +#ifndef IMAGE_LOADER_HH +#define IMAGE_LOADER_HH + +#include "image.hh" // IWYU pragma: export + +#include + +enum class ImageLoadError : uint8_t { + kNoSuchFile, + kUnsupportedFormat, + kProcessError, + kError, +}; + +#endif // IMAGE_LOADER_HH -- cgit v1.2.3-70-g09d2