diff options
author | deva <deva> | 2008-06-03 14:45:48 +0000 |
---|---|---|
committer | deva <deva> | 2008-06-03 14:45:48 +0000 |
commit | 0febf6ea9cbd1a6e04e41339fc46d2e6b07da5e7 (patch) | |
tree | da9cee1a15609b8aa2ed556160c5660819621db2 /client/lua.h | |
parent | bb3fad646f94739a876869464a484c99795bce61 (diff) |
LUA rocks
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__*/ |