mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 16:01:20 +02:00
neutrino: add a prototype of a lua plugin interface
this is just for preliminary tests, not yet really usable for anything useful
This commit is contained in:
committed by
M. Liebmann
parent
7b40b61c9a
commit
f26357e887
@@ -51,7 +51,8 @@ class CPlugins
|
||||
P_TYPE_DISABLED = 0x1,
|
||||
P_TYPE_GAME = 0x2,
|
||||
P_TYPE_TOOL = 0x4,
|
||||
P_TYPE_SCRIPT = 0x8
|
||||
P_TYPE_SCRIPT = 0x8,
|
||||
P_TYPE_LUA = 0x10
|
||||
}
|
||||
p_type_t;
|
||||
|
||||
@@ -122,6 +123,7 @@ 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);
|
||||
void startLuaPlugin(int number);
|
||||
|
||||
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