mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
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:
@@ -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);
|
||||
|
Reference in New Issue
Block a user