WIP
This commit is contained in:
parent
58513d70c0
commit
0c6105e418
7 changed files with 168 additions and 2 deletions
21
source/Graphics/Image/Decoder.h
Normal file
21
source/Graphics/Image/Decoder.h
Normal file
|
|
@ -0,0 +1,21 @@
|
|||
|
||||
#ifndef SPECTRE_GRAPHICS_IMAGE_DECODER_H
|
||||
#define SPECTRE_GRAPHICS_IMAGE_DECODER_H
|
||||
|
||||
namespace sp {
|
||||
class Image;
|
||||
}
|
||||
|
||||
namespace sp {
|
||||
namespace image {
|
||||
|
||||
class Decoder
|
||||
{
|
||||
public :
|
||||
|
||||
virtual bool decode(Image& img, const unsigned char *data, unsigned size) = 0;
|
||||
};
|
||||
|
||||
}} // namespace sp::image
|
||||
|
||||
#endif /* SPECTRE_GRAPHICS_IMAGE_DECODER_H */
|
||||
Loading…
Add table
Add a link
Reference in a new issue