Allow writing files anywhere from the command lines interface, not just in the working directory

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1116 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-08-09 01:54:17 +00:00
parent 1b57db2f97
commit 9e77a63526
4 changed files with 69 additions and 26 deletions
+3
View File
@@ -9,6 +9,7 @@
#include <util/prec.hpp>
#include <data/export_template.hpp>
#include <data/game.hpp>
#include <data/set.hpp>
#include <data/field.hpp>
// ----------------------------------------------------------------------------- : Export template, basics
@@ -45,3 +46,5 @@ IMPLEMENT_REFLECTION(ExportTemplate) {
// ----------------------------------------------------------------------------- : ExportInfo
IMPLEMENT_DYNAMIC_ARG(ExportInfo*, export_info, nullptr);
ExportInfo::ExportInfo() : allow_writes_outside(false) {}