1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000
1.2 +++ b/graphlcd-base/glcdgraphics/pbm.h Wed Feb 06 17:32:55 2008 +0000
1.3 @@ -0,0 +1,34 @@
1.4 +/*
1.5 + * GraphLCD graphics library
1.6 + *
1.7 + * pbm.h - PBM file loading and saving
1.8 + *
1.9 + * This file is released under the GNU General Public License. Refer
1.10 + * to the COPYING file distributed with this package.
1.11 + *
1.12 + * (c) 2006 Andreas Regel <andreas.regel AT powarman.de>
1.13 + */
1.14 +
1.15 +#ifndef _GLCDGRAPHICS_PBM_H_
1.16 +#define _GLCDGRAPHICS_PBM_H_
1.17 +
1.18 +#include "imagefile.h"
1.19 +
1.20 +namespace GLCD
1.21 +{
1.22 +
1.23 +class cImage;
1.24 +
1.25 +class cPBMFile : public cImageFile
1.26 +{
1.27 +public:
1.28 + cPBMFile();
1.29 + virtual ~cPBMFile();
1.30 + virtual bool Load(cImage & image, const std::string & fileName);
1.31 + virtual bool Save(cImage & image, const std::string & fileName);
1.32 +};
1.33 +
1.34 +} // end of namespace
1.35 +
1.36 +#endif
1.37 +