LibDraw: Rename ImageLoader => ImageDecoder

ImageLoader was not the right name for this, as there is no loading
happening, only decoding. :^)
This commit is contained in:
Andreas Kling 2019-10-19 19:56:49 +02:00
parent 02e787f8a4
commit f970578cd4
Notes: sideshowbarker 2024-07-19 11:37:53 +09:00
8 changed files with 32 additions and 32 deletions

View file

@ -0,0 +1,11 @@
#include <LibDraw/ImageDecoder.h>
#include <LibDraw/PNGLoader.h>
ImageDecoder::ImageDecoder(const u8* data, size_t size)
{
m_plugin = make<PNGImageDecoderPlugin>(data, size);
}
ImageDecoder::~ImageDecoder()
{
}