summaryrefslogtreecommitdiff
path: root/src/image_loader.hh
diff options
context:
space:
mode:
authorJoel Klinghed <the_jk@spawned.biz>2026-01-02 22:42:31 +0100
committerJoel Klinghed <the_jk@spawned.biz>2026-01-02 22:42:31 +0100
commit6ed8f5151719fbc14ec0ac6d28a346d1f74cf2ca (patch)
treeebe7588e89e1aa2ae5376acf85f3a3a7b2ec7e10 /src/image_loader.hh
Initial commitHEADmain
Diffstat (limited to 'src/image_loader.hh')
-rw-r--r--src/image_loader.hh15
1 files changed, 15 insertions, 0 deletions
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 <cstdint>
+
+enum class ImageLoadError : uint8_t {
+ kNoSuchFile,
+ kUnsupportedFormat,
+ kProcessError,
+ kError,
+};
+
+#endif // IMAGE_LOADER_HH