mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
Add a --enable-lua switch to enable LUA support
Origin commit data
------------------
Branch: ni/coolstream
Commit: 82d4832013
Author: Michael Liebmann <tuxcode.bbg@gmail.com>
Date: 2014-01-21 (Tue, 21 Jan 2014)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -51,8 +51,12 @@ class CPlugins
|
||||
P_TYPE_DISABLED = 0x1,
|
||||
P_TYPE_GAME = 0x2,
|
||||
P_TYPE_TOOL = 0x4,
|
||||
P_TYPE_SCRIPT = 0x8,
|
||||
P_TYPE_SCRIPT = 0x8
|
||||
|
||||
#if ENABLE_LUA
|
||||
,
|
||||
P_TYPE_LUA = 0x10
|
||||
#endif
|
||||
}
|
||||
p_type_t;
|
||||
|
||||
@@ -123,8 +127,9 @@ class CPlugins
|
||||
void startPlugin(int number,int param);
|
||||
void start_plugin_by_name(const std::string & filename,int param);// start plugins by "name=" in .cfg
|
||||
void startScriptPlugin(int number);
|
||||
#if ENABLE_LUA
|
||||
void startLuaPlugin(int number);
|
||||
|
||||
#endif
|
||||
void startPlugin(const char * const filename); // start plugins also by name
|
||||
bool hasPlugin(CPlugins::p_type_t type);
|
||||
|
||||
|
Reference in New Issue
Block a user