mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-30 00:41:09 +02:00
neutrino: add a prototype of a lua plugin interface
this is just for preliminary tests, not yet really usable
for anything useful
Origin commit data
------------------
Branch: ni/coolstream
Commit: f26357e887
Author: Stefan Seyfried <seife@tuxbox-git.slipkontur.de>
Date: 2013-03-17 (Sun, 17 Mar 2013)
------------------
This commit was generated by Migit
This commit is contained in:
committed by
Michael Liebmann
parent
81ec9a0e26
commit
88c69c92bd
@@ -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