diff options
author | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-12-27 11:05:52 +0100 |
---|---|---|
committer | Bent Bisballe Nyeng <deva@aasimon.org> | 2018-12-27 11:05:52 +0100 |
commit | f4729babb394fbd41b55fba5c53bfc6afe1cda09 (patch) | |
tree | 492f7696ed5d36d238ddd14048800ff919930fad /src/luascript.h | |
parent | cf19a88c5a37fead401df39849ad7ba56aaa851d (diff) |
Add file menu with load/save etc.
Diffstat (limited to 'src/luascript.h')
-rw-r--r-- | src/luascript.h | 5 |
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); |