summaryrefslogtreecommitdiff
path: root/src/luascript.h
diff options
context:
space:
mode:
authorBent Bisballe Nyeng <deva@aasimon.org>2018-12-27 11:05:52 +0100
committerBent Bisballe Nyeng <deva@aasimon.org>2018-12-27 11:05:52 +0100
commitf4729babb394fbd41b55fba5c53bfc6afe1cda09 (patch)
tree492f7696ed5d36d238ddd14048800ff919930fad /src/luascript.h
parentcf19a88c5a37fead401df39849ad7ba56aaa851d (diff)
Add file menu with load/save etc.
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);