From f4729babb394fbd41b55fba5c53bfc6afe1cda09 Mon Sep 17 00:00:00 2001 From: Bent Bisballe Nyeng Date: Thu, 27 Dec 2018 11:05:52 +0100 Subject: Add file menu with load/save etc. --- src/luascript.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/luascript.h') 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); -- cgit v1.2.3