graphlcd-base/tools/convpic/bmp.h
changeset 4 df6a40031aa5
equal deleted inserted replaced
3:d0e62fc47285 4:df6a40031aa5
       
     1 /**
       
     2  *  GraphLCD plugin for the Video Disk Recorder
       
     3  *
       
     4  *  bmp.h  -  bmp logo class
       
     5  *
       
     6  *  (C) 2004 Andreas Brachold <vdr04 AT deltab de>
       
     7  *  (C) 2001-2004 Carsten Siebholz <c.siebholz AT t-online de>
       
     8  **/
       
     9 
       
    10 /***************************************************************************
       
    11  *                                                                         *
       
    12  *   This program is free software; you can redistribute it and/or modify  *
       
    13  *   it under the terms of the GNU General Public License as published by  *
       
    14  *   the Free Software Foundation; either version 2 of the License, or     *
       
    15  *   (at your option) any later version.                                   *
       
    16  *                                                                         *
       
    17  *   This program is distributed in the hope that it will be useful,       *
       
    18  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
       
    19  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
       
    20  *   GNU General Public License for more details.                          *
       
    21  *                                                                         *
       
    22  *   You should have received a copy of the GNU General Public License     *
       
    23  *   along with this program;                                              *
       
    24  *   if not, write to the Free Software Foundation, Inc.,                  *
       
    25  *   59 Temple Place, Suite 330, Boston, MA  02111-1307  USA               *
       
    26  *                                                                         *
       
    27  ***************************************************************************/
       
    28 
       
    29 #ifndef _BMP_H_
       
    30 #define _BMP_H_
       
    31 
       
    32 #include <glcdgraphics/imagefile.h>
       
    33 
       
    34 class cBMPFile : public GLCD::cImageFile
       
    35 {
       
    36 private:
       
    37     bool Save(const GLCD::cBitmap * bitmap, const std::string & fileName);
       
    38 public:
       
    39     cBMPFile();
       
    40     virtual ~cBMPFile();
       
    41     virtual bool Load(GLCD::cImage & image, const std::string & fileName);
       
    42     virtual bool Save(GLCD::cImage & image, const std::string & fileName);
       
    43 };
       
    44 
       
    45 #endif