00001 /* 00002 * EasySok --- A(nother) sokoban game for KDE. 00003 * 00004 * Copyright (C) 2001 by Ralf Schmelter (ralfs@pc2a.chemie.uni-dortmund.de). 00005 * 00006 * This program is free software; you can redistribute it and/or modify 00007 * it under the terms of the GNU General Public License version 2 as 00008 * published by the Free Software Foundation. 00009 * 00010 * This program is distributed in the hope that it will be useful, 00011 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00012 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00013 * GNU General Public License for more details. 00014 * 00015 * You should have received a copy of the GNU General Public License 00016 * along with this program; if not, write to the Free Software 00017 * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. 00018 */ 00019 00020 00021 #ifndef EASYSOK_IMAGE_STORER_INC_GUARD_H 00022 #define EASYSOK_IMAGE_STORER_INC_GUARD_H 00023 00024 00025 #include <qimage.h> 00026 00027 00028 class Map; 00029 class QIODevice; 00030 class Theme; 00031 00032 00033 00034 00042 class ImageStorer 00043 { 00044 public: 00045 00060 static bool store(QIODevice * device, char const * format, Map const & map, int piece_size, 00061 Theme const & theme, int direction, bool use_background, bool low_quality); 00062 00063 00068 static QImage createImage(Map const & map, int piece_size, Theme const & theme, 00069 int direction, bool use_background, bool low_quality); 00070 }; 00071 00072 00073 #endif
1.2.9.1 written by Dimitri van Heesch,
© 1997-2001