diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-25 15:13:36 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-25 15:13:36 +0300 |
commit | 9936e788d97c76bee0a4c9e3592ddbf32d85894f (patch) | |
tree | eb86383d7a0993da845c6088f954fe6a38546eda /outdated/dyecmd/src/imagewriter.h | |
parent | 4caf27a2a2580831ddc4e9358a643075ae2bad7e (diff) | |
download | tools-9936e788d97c76bee0a4c9e3592ddbf32d85894f.tar.gz tools-9936e788d97c76bee0a4c9e3592ddbf32d85894f.tar.bz2 tools-9936e788d97c76bee0a4c9e3592ddbf32d85894f.tar.xz tools-9936e788d97c76bee0a4c9e3592ddbf32d85894f.zip |
move dyecmd into outdated dir.
Diffstat (limited to 'outdated/dyecmd/src/imagewriter.h')
-rwxr-xr-x | outdated/dyecmd/src/imagewriter.h | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/outdated/dyecmd/src/imagewriter.h b/outdated/dyecmd/src/imagewriter.h new file mode 100755 index 0000000..a8bcdf5 --- /dev/null +++ b/outdated/dyecmd/src/imagewriter.h @@ -0,0 +1,31 @@ +/* + * The Mana Client + * Copyright (C) 2004-2009 The Mana World Development Team + * Copyright (C) 2009-2010 The Mana Developers + * + * This file is part of The Mana Client. + * + * 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 + * 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, see <http://www.gnu.org/licenses/>. + */ + +#include <iosfwd> + +struct SDL_Surface; + +class ImageWriter +{ + public: + static bool writePNG(SDL_Surface *surface, + const std::string &filename); +}; |