mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 19:01:13 +02:00
CLuaInstance: Use CLuaVideo for video, CLuaMisc for misc functions
- The old version of the video and misc functions is deprecated
but still valid
Origin commit data
------------------
Branch: ni/coolstream
Commit: 83176835e3
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2015-12-12 (Sat, 12 Dec 2015)
Origin message was:
------------------
CLuaInstance: Use CLuaVideo for video, CLuaMisc for misc functions
- The old version of the video and misc functions is deprecated
but still valid
------------------
This commit was generated by Migit
This commit is contained in:
@@ -20,32 +20,43 @@
|
||||
#ifndef _LUAVIDEO_H
|
||||
#define _LUAVIDEO_H
|
||||
|
||||
/*
|
||||
class CLuaVideo
|
||||
{
|
||||
public:
|
||||
CLuaVideo() {};
|
||||
~CLuaVideo() {};
|
||||
};
|
||||
*/
|
||||
|
||||
class CLuaInstVideo
|
||||
{
|
||||
static CLuaData *CheckData(lua_State *L, int narg);
|
||||
public:
|
||||
CLuaInstVideo() {};
|
||||
~CLuaInstVideo() {};
|
||||
static CLuaInstVideo* getInstance();
|
||||
// static void LuaVideoRegister(lua_State *L);
|
||||
static void LuaVideoRegister(lua_State *L);
|
||||
|
||||
/* deprecated functions */
|
||||
static int setBlank_old(lua_State *L);
|
||||
static int ShowPicture_old(lua_State *L);
|
||||
static int StopPicture_old(lua_State *L);
|
||||
static int PlayFile_old(lua_State *L);
|
||||
static int zapitStopPlayBack_old(lua_State *L);
|
||||
static int channelRezap_old(lua_State *L);
|
||||
static int createChannelIDfromUrl_old(lua_State *L);
|
||||
|
||||
// private:
|
||||
private:
|
||||
static CLuaVideo *VideoCheckData(lua_State *L, int n);
|
||||
static int VideoNew(lua_State *L);
|
||||
static int setBlank(lua_State *L);
|
||||
static int ShowPicture(lua_State *L);
|
||||
static int StopPicture(lua_State *L);
|
||||
static int PlayFile(lua_State *L);
|
||||
static int zapitStopPlayBack(lua_State *L);
|
||||
static int channelRezap(lua_State *L);
|
||||
static int createChannelIDfromUrl(lua_State *L);
|
||||
static int VideoDelete(lua_State *L);
|
||||
|
||||
static void videoFunctionDeprecated(lua_State *L, std::string oldFunc);
|
||||
};
|
||||
|
||||
#endif //_LUAVIDEO_H
|
||||
|
Reference in New Issue
Block a user