summaryrefslogtreecommitdiff
path: root/src/luascript.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/luascript.h')
-rw-r--r--src/luascript.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/luascript.h b/src/luascript.h
index c7ea9b7..b88e023 100644
--- a/src/luascript.h
+++ b/src/luascript.h
@@ -51,7 +51,7 @@ public:
std::string msg;
};
- LUAScript(OutputWindow *out, QString file);
+ LUAScript(OutputWindow& out);
~LUAScript();
void init();
@@ -59,8 +59,9 @@ public:
void run();
void runScript();
+ void setScriptFile(QString file);
- OutputWindow *out;
+ OutputWindow& out;
void lineChange(int lineno);