From 10ab31fa86dbf9875b5f6baa6ac59fefaaf86be3 Mon Sep 17 00:00:00 2001 From: andreas 'randy' weinberger Date: Sun, 21 Feb 2010 19:58:27 +0100 Subject: initial git upload, based on graphlcd-base-0.1.5 --- glcdgraphics/pbm.h | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 glcdgraphics/pbm.h (limited to 'glcdgraphics/pbm.h') 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 + */ + +#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 + -- cgit v1.2.3