Moved clean_filename to file_utils.cpp where it belongs;

Split up images exporting, and moved it to data/formats/image

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1085 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-07 18:04:49 +00:00
parent 2ced942d47
commit 7eb05cbd7e
9 changed files with 101 additions and 95 deletions
+5
View File
@@ -11,6 +11,7 @@
#include <util/prec.hpp>
#include <util/error.hpp>
#include <data/settings.hpp>
class Game;
DECLARE_POINTER_TYPE(Set);
@@ -85,6 +86,10 @@ FileFormatP mtg_editor_file_format();
/// Export images for each card in a set to a list of files
void export_images(Window* parent, const SetP& set);
/// Export the image for each card in a list of cards
void export_images(const SetP& set, vector<CardP>& cards,
const String& path, const String& filename_template, FilenameConflicts conflicts);
/// Export the image of a single card
void export_image(const SetP& set, const CardP& card, const String& filename);