diff options
Diffstat (limited to 'tools/convpic/bmp.h')
-rw-r--r-- | tools/convpic/bmp.h | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/tools/convpic/bmp.h b/tools/convpic/bmp.h new file mode 100644 index 0000000..8419838 --- /dev/null +++ b/tools/convpic/bmp.h @@ -0,0 +1,45 @@ +/** + * GraphLCD plugin for the Video Disk Recorder + * + * bmp.h - bmp logo class + * + * (C) 2004 Andreas Brachold <vdr04 AT deltab de> + * (C) 2001-2004 Carsten Siebholz <c.siebholz AT t-online de> + **/ + +/*************************************************************************** + * * + * This program is free software; you can redistribute it and/or modify * + * it under the terms of the GNU General Public License as published by * + * the Free Software Foundation; either version 2 of the License, or * + * (at your option) any later version. * + * * + * This program is distributed in the hope that it will be useful, * + * but WITHOUT ANY WARRANTY; without even the implied warranty of * + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * + * GNU General Public License for more details. * + * * + * You should have received a copy of the GNU General Public License * + * along with this program; * + * if not, write to the Free Software Foundation, Inc., * + * 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA * + * * + ***************************************************************************/ + +#ifndef _BMP_H_ +#define _BMP_H_ + +#include <glcdgraphics/imagefile.h> + +class cBMPFile : public GLCD::cImageFile +{ +private: + bool Save(const GLCD::cBitmap * bitmap, const std::string & fileName); +public: + cBMPFile(); + virtual ~cBMPFile(); + virtual bool Load(GLCD::cImage & image, const std::string & fileName); + virtual bool Save(GLCD::cImage & image, const std::string & fileName); +}; + +#endif |