changed function name (exportCard -> includeCard), because it better describes what the function does.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1032 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-02 15:25:37 +00:00
parent b49966dc03
commit 6f8c1d1484
2 changed files with 5 additions and 4 deletions
+3 -2
View File
@@ -22,7 +22,8 @@ class ExportCardImages {
void exportImages(const SetP& set, wxFileName& filename, const String& filename_template, FilenameConflicts conflicts);
virtual ~ExportCardImages() {}
protected:
virtual bool exportCard(const CardP& card) const { return true; }
/// Should the given card be exported?
virtual bool includeCard(const CardP& card) const { return true; }
};
// ----------------------------------------------------------------------------- : ImagesExportWindow
@@ -37,7 +38,7 @@ class ImagesExportWindow : public CardSelectWindow, private ExportCardImages {
void onOk(wxCommandEvent&);
virtual bool exportCard(const CardP& card) const;
virtual bool includeCard(const CardP& card) const;
wxTextCtrl* format;
wxChoice* conflicts;