From 0febf6ea9cbd1a6e04e41339fc46d2e6b07da5e7 Mon Sep 17 00:00:00 2001 From: deva Date: Tue, 3 Jun 2008 14:45:48 +0000 Subject: LUA rocks --- client/lua.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'client/lua.h') diff --git a/client/lua.h b/client/lua.h index 0c69b04..92ae809 100644 --- a/client/lua.h +++ b/client/lua.h @@ -30,17 +30,23 @@ #include #include -#include "variables.h" +#include + +class MacroWindow; class LUA { public: - LUA(Variables &variables); + LUA(MacroWindow *macrowindow); ~LUA(); - std::string run(std::string &program); + bool run(QString program, QString value); + + QString getValue(QString name); + void setValue(QString name, QString value); private: lua_State *L; + MacroWindow *macrowindow; }; #endif/*__PRACRO_LUA_H__*/ -- cgit v1.2.3