Refactored the ImageData decoding/encoding backends a bit

This commit is contained in:
Alex Szpakowski
2014-03-02 03:17:47 -04:00
parent 55514720a6
commit a3afb1a9ca
10 changed files with 179 additions and 57 deletions
+9
View File
@@ -23,6 +23,10 @@
// LOVE
#include "image/Image.h"
#include "FormatHandler.h"
// C++
#include <list>
namespace love
{
@@ -54,6 +58,11 @@ public:
bool isCompressed(love::filesystem::FileData *data);
private:
// Image format handlers we can use for decoding and encoding ImageData.
std::list<FormatHandler *> formatHandlers;
}; // Image
} // magpie