mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +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
@@ -308,7 +308,9 @@ bool CUserMenu::showUserMenu(int button)
|
||||
int cnt = 0;
|
||||
for (unsigned int count = 0; count < (unsigned int) g_PluginList->getNumberOfPlugins(); count++)
|
||||
{
|
||||
if (g_PluginList->getType(count)== CPlugins::P_TYPE_TOOL && !g_PluginList->isHidden(count))
|
||||
bool show = g_PluginList->getType(count) == CPlugins::P_TYPE_TOOL ||
|
||||
g_PluginList->getType(count) == CPlugins::P_TYPE_LUA;
|
||||
if (show && !g_PluginList->isHidden(count))
|
||||
{
|
||||
sprintf(id, "%d", count);
|
||||
menu_items++;
|
||||
|
Reference in New Issue
Block a user