CLuaInstVideo: Add getNeutrinoMode()

- Set Lua api version to 1.28

Example:
	video = video.new()
	if video.getNeutrinoMode() == NMODE.TS then
		messagebox.exec{title="Attention!", text="Movie player is busy.", buttons={ "ok" } }
	end
This commit is contained in:
M. Liebmann
2015-12-14 22:33:19 +01:00
parent 30ebe003f4
commit 473af7b2ea
4 changed files with 27 additions and 2 deletions

View File

@@ -54,6 +54,7 @@ class CLuaInstVideo
static int zapitStopPlayBack(lua_State *L);
static int channelRezap(lua_State *L);
static int createChannelIDfromUrl(lua_State *L);
static int getNeutrinoMode(lua_State *L);
static int VideoDelete(lua_State *L);
static void videoFunctionDeprecated(lua_State *L, std::string oldFunc);