summaryrefslogtreecommitdiff
path: root/glcdgraphics/imagefile.h
blob: bf5ff5e56a112da88697c93cefd13fc7fa48c4a2 (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
/*
 * GraphLCD graphics library
 *
 * imagefile.h  -  base class for 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_IMAGEFILE_H_
#define _GLCDGRAPHICS_IMAGEFILE_H_

#include <string>

namespace GLCD
{

class cImage;

class cImageFile
{
public:
    cImageFile();
    virtual ~cImageFile();
    virtual bool Load(cImage & image, const std::string & fileName);
    virtual bool Save(cImage & image, const std::string & fileName);
};

} // end of namespace

#endif