first commit
This commit is contained in:
34
include/modules/pict_io_stb/pict_stb_codec.h
Normal file
34
include/modules/pict_io_stb/pict_stb_codec.h
Normal file
@ -0,0 +1,34 @@
|
||||
/* -----------------------------------------------------------------------------
|
||||
GSFramework
|
||||
Copyright 2001-2013 Emmanuel Julien. All Rights Reserved.
|
||||
------------------------------------------------------------------------------*/
|
||||
|
||||
|
||||
#ifndef __PICTSTBCODEC__
|
||||
#define __PICTSTBCODEC__
|
||||
|
||||
|
||||
#include "picture/pict_io_codec.h"
|
||||
|
||||
|
||||
namespace GS {
|
||||
|
||||
/*
|
||||
@short STB (Sean Barrett picture) codec.
|
||||
@author Emmanuel Julien (ejulien@nworks.fr)
|
||||
*/
|
||||
struct PictureSTBCodec : public PictureCodec
|
||||
{
|
||||
bool Load(IO::Handle &, Picture &);
|
||||
|
||||
const char *GetName() const { return "STB"; }
|
||||
const char *GetDesc() const { return "STB image (Sean Barrett image library) codec"; }
|
||||
|
||||
uint GetCaps() const { return CanRead; }
|
||||
};
|
||||
|
||||
} // GS
|
||||
|
||||
|
||||
#endif // __PICTSTBCODEC__
|
||||
|
||||
Reference in New Issue
Block a user