diff options
Diffstat (limited to 'client/lua.h')
-rw-r--r-- | client/lua.h | 12 |
1 files changed, 9 insertions, 3 deletions
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 <lua.hpp> #include <lauxlib.h> -#include "variables.h" +#include <QString> + +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__*/ |