diff options
Diffstat (limited to 'glcdgraphics/pbm.h')
-rw-r--r-- | glcdgraphics/pbm.h | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/glcdgraphics/pbm.h b/glcdgraphics/pbm.h new file mode 100644 index 0000000..8e9535f --- /dev/null +++ b/glcdgraphics/pbm.h @@ -0,0 +1,34 @@ +/* + * GraphLCD graphics library + * + * pbm.h - PBM file loading and saving + * + * This file is released under the GNU General Public License. Refer + * to the COPYING file distributed with this package. + * + * (c) 2006 Andreas Regel <andreas.regel AT powarman.de> + */ + +#ifndef _GLCDGRAPHICS_PBM_H_ +#define _GLCDGRAPHICS_PBM_H_ + +#include "imagefile.h" + +namespace GLCD +{ + +class cImage; + +class cPBMFile : public cImageFile +{ +public: + cPBMFile(); + virtual ~cPBMFile(); + virtual bool Load(cImage & image, const std::string & fileName); + virtual bool Save(cImage & image, const std::string & fileName); +}; + +} // end of namespace + +#endif + |