CLuaInstMisc:: Add script function postMsg() to send a neutrino message

- Currently possible message: POSTMSG.STANDBY_ON
 - Set Lua api version to 1.33
This commit is contained in:
M. Liebmann
2015-12-15 21:48:19 +01:00
parent 3a64f6c230
commit 37e8c328c5
4 changed files with 30 additions and 1 deletions

View File

@@ -31,6 +31,10 @@ class CLuaMisc
class CLuaInstMisc
{
public:
enum {
POSTMSG_STANDBY_ON = 1
};
CLuaInstMisc() {};
~CLuaInstMisc() {};
static CLuaInstMisc* getInstance();
@@ -53,6 +57,7 @@ class CLuaInstMisc
static int runScriptExt(lua_State *L);
static int GetRevision(lua_State *L);
static int checkVersion(lua_State *L);
static int postMsg(lua_State *L);
static int MiscDelete(lua_State *L);
static void miscFunctionDeprecated(lua_State *L, std::string oldFunc);