Moving PNG/JPEG code from 'graphics' to 'format', beginning work on audio format code

This commit is contained in:
Joshua Granick
2014-07-28 08:29:11 -07:00
parent f0a5f254ef
commit d8a0eed472
12 changed files with 353 additions and 15 deletions

View File

@@ -0,0 +1,27 @@
#ifndef LIME_UTILS_RESOURCE_H
#define LIME_UTILS_RESOURCE_H
#include <utils/ByteArray.h>
namespace lime {
struct Resource {
Resource (const char* path) : data (NULL), path (path) {}
Resource (ByteArray *data) : data (data), path (NULL) {}
ByteArray *data;
const char* path;
};
}
#endif