summaryrefslogtreecommitdiff
path: root/src/image_loader.hh
diff options
context:
space:
mode:
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