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

- Currently possible message: POSTMSG.STANDBY_ON
 - Set Lua api version to 1.33


Origin commit data
------------------
Branch: ni/coolstream
Commit: 37e8c328c5
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-15 (Tue, 15 Dec 2015)



------------------
This commit was generated by Migit
This commit is contained in:
Michael Liebmann
2015-12-15 21:48:19 +01:00
parent e84a6e30eb
commit 4208af5887
4 changed files with 30 additions and 1 deletions

View File

@@ -335,6 +335,12 @@ static void set_lua_variables(lua_State *L)
{ NULL, 0 }
};
table_key post_msg[] =
{
{ "STANDBY_ON", (lua_Integer)CLuaInstMisc::POSTMSG_STANDBY_ON },
{ NULL, 0 }
};
/* list of environment variable arrays to be exported */
lua_envexport e[] =
{
@@ -349,6 +355,7 @@ static void set_lua_variables(lua_State *L)
{ "DYNFONT", dynfont },
{ "CURL", curl_status },
{ "NMODE", neutrino_mode },
{ "POSTMSG", post_msg },
{ NULL, NULL }
};