summaryrefslogtreecommitdiff
path: root/glcdgraphics/pbm.h
blob: 8e9535f9b7b4086d1df8d539c30fbbca253f03be (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
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