diff --git a/src/data/export_template.cpp b/src/data/export_template.cpp new file mode 100644 index 00000000..39dba481 --- /dev/null +++ b/src/data/export_template.cpp @@ -0,0 +1,22 @@ +//+----------------------------------------------------------------------------+ +//| Description: Magic Set Editor - Program to make Magic (tm) cards | +//| Copyright: (C) 2001 - 2006 Twan van Laarhoven | +//| License: GNU General Public License 2 or later (see file COPYING) | +//+----------------------------------------------------------------------------+ + +// ----------------------------------------------------------------------------- : Includes + +#include + +// ----------------------------------------------------------------------------- : Export template, basics + +String ExportTemplate::typeNameStatic() { return _("export-template"); } +String ExportTemplate::typeName() const { return _("export-template"); } + +IMPLEMENT_REFLECTION(ExportTemplate) { + REFLECT_BASE(Packaged); + REFLECT(file_type); + REFLECT(create_directory); +} + +// ----------------------------------------------------------------------------- : diff --git a/src/data/export_template.hpp b/src/data/export_template.hpp new file mode 100644 index 00000000..5c23562a --- /dev/null +++ b/src/data/export_template.hpp @@ -0,0 +1,34 @@ +//+----------------------------------------------------------------------------+ +//| Description: Magic Set Editor - Program to make Magic (tm) cards | +//| Copyright: (C) 2001 - 2006 Twan van Laarhoven | +//| License: GNU General Public License 2 or later (see file COPYING) | +//+----------------------------------------------------------------------------+ + +#ifndef HEADER_DATA_EXPORT_TEMPLATE +#define HEADER_DATA_EXPORT_TEMPLATE + +// ----------------------------------------------------------------------------- : Includes + +#include +#include +#include