Moving PNG/JPEG code from 'graphics' to 'format', beginning work on audio format code
This commit is contained in:
20
project/include/audio/Sound.h
Normal file
20
project/include/audio/Sound.h
Normal file
@@ -0,0 +1,20 @@
|
||||
#ifndef LIME_AUDIO_SOUND_H
|
||||
#define LIME_AUDIO_SOUND_H
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
class Sound {
|
||||
|
||||
|
||||
public:
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,9 +1,9 @@
|
||||
#ifndef LIME_GRAPHICS_JPEG_H
|
||||
#define LIME_GRAPHICS_JPEG_H
|
||||
#ifndef LIME_FORMAT_JPEG_H
|
||||
#define LIME_FORMAT_JPEG_H
|
||||
|
||||
|
||||
#include <graphics/Image.h>
|
||||
#include <io/Resource.h>
|
||||
#include <utils/Resource.h>
|
||||
|
||||
|
||||
namespace lime {
|
||||
26
project/include/format/OGG.h
Normal file
26
project/include/format/OGG.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef LIME_FORMAT_OGG_H
|
||||
#define LIME_FORMAT_OGG_H
|
||||
|
||||
|
||||
#include <audio/Sound.h>
|
||||
#include <utils/Resource.h>
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
class OGG {
|
||||
|
||||
|
||||
public:
|
||||
|
||||
static bool Decode (Resource *resource, Sound *sound);
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,9 +1,9 @@
|
||||
#ifndef LIME_GRAPHICS_PNG_H
|
||||
#define LIME_GRAPHICS_PNG_H
|
||||
#ifndef LIME_FORMAT_PNG_H
|
||||
#define LIME_FORMAT_PNG_H
|
||||
|
||||
|
||||
#include <graphics/Image.h>
|
||||
#include <io/Resource.h>
|
||||
#include <utils/Resource.h>
|
||||
|
||||
|
||||
namespace lime {
|
||||
26
project/include/format/WAV.h
Normal file
26
project/include/format/WAV.h
Normal file
@@ -0,0 +1,26 @@
|
||||
#ifndef LIME_FORMAT_WAV_H
|
||||
#define LIME_FORMAT_WAV_H
|
||||
|
||||
|
||||
#include <audio/Sound.h>
|
||||
#include <utils/Resource.h>
|
||||
|
||||
|
||||
namespace lime {
|
||||
|
||||
|
||||
class WAV {
|
||||
|
||||
|
||||
public:
|
||||
|
||||
static bool Decode (Resource *resource, Sound *sound);
|
||||
|
||||
|
||||
};
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
#endif
|
||||
@@ -1,5 +1,5 @@
|
||||
#ifndef LIME_IO_RESOURCE_H
|
||||
#define LIME_IO_RESOURCE_H
|
||||
#ifndef LIME_UTILS_RESOURCE_H
|
||||
#define LIME_UTILS_RESOURCE_H
|
||||
|
||||
|
||||
#include <utils/ByteArray.h>
|
||||
Reference in New Issue
Block a user