graphlcd-base/glcdgraphics/pbm.h
author root@rika
Wed, 06 Feb 2008 17:32:55 +0000
changeset 4 df6a40031aa5
permissions -rw-r--r--
added graphlcd-base
     1 /*
     2  * GraphLCD graphics library
     3  *
     4  * pbm.h  - PBM file loading and saving
     5  *
     6  * This file is released under the GNU General Public License. Refer
     7  * to the COPYING file distributed with this package.
     8  *
     9  * (c) 2006 Andreas Regel <andreas.regel AT powarman.de>
    10  */
    11 
    12 #ifndef _GLCDGRAPHICS_PBM_H_
    13 #define _GLCDGRAPHICS_PBM_H_
    14 
    15 #include "imagefile.h"
    16 
    17 namespace GLCD
    18 {
    19 
    20 class cImage;
    21 
    22 class cPBMFile : public cImageFile
    23 {
    24 public:
    25     cPBMFile();
    26     virtual ~cPBMFile();
    27     virtual bool Load(cImage & image, const std::string & fileName);
    28     virtual bool Save(cImage & image, const std::string & fileName);
    29 };
    30 
    31 } // end of namespace
    32 
    33 #endif
    34