aboutsummaryrefslogtreecommitdiff
path: root/include/cru/osx/graphics/quartz/ImageFactory.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/cru/osx/graphics/quartz/ImageFactory.h')
-rw-r--r--include/cru/osx/graphics/quartz/ImageFactory.h22
1 files changed, 0 insertions, 22 deletions
diff --git a/include/cru/osx/graphics/quartz/ImageFactory.h b/include/cru/osx/graphics/quartz/ImageFactory.h
deleted file mode 100644
index 23d14332..00000000
--- a/include/cru/osx/graphics/quartz/ImageFactory.h
+++ /dev/null
@@ -1,22 +0,0 @@
-#pragma once
-#include "Resource.h"
-#include "cru/platform/graphics/ImageFactory.h"
-
-namespace cru::platform::graphics::osx::quartz {
-class QuartzImageFactory : public OsxQuartzResource,
- public virtual IImageFactory {
- public:
- explicit QuartzImageFactory(IGraphicsFactory* graphics_factory);
-
- CRU_DELETE_COPY(QuartzImageFactory)
- CRU_DELETE_MOVE(QuartzImageFactory)
-
- ~QuartzImageFactory() override;
-
- public:
- std::unique_ptr<IImage> DecodeFromStream(io::Stream* stream) override;
- void EncodeToStream(IImage* image, io::Stream* stream, ImageFormat format,
- float quality) override;
- std::unique_ptr<IImage> CreateBitmap(int width, int height) override;
-};
-} // namespace cru::platform::graphics::osx::quartz