mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
- plugin-code: cleanup from many unused code; ...
* remove intergration conversion because we can use the integer as it is * update headers Do we need /src/plugin.h anymore? Maybe this code could be merged into src/gui/plugins.h. Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1027,7 +1027,7 @@ int CMenuWidget::exec(CMenuTarget* parent, const std::string &)
|
||||
return retval;
|
||||
}
|
||||
|
||||
void CMenuWidget::integratePlugins(CPlugins::i_type_t integration, const unsigned int shortcut, bool enabled)
|
||||
void CMenuWidget::integratePlugins(int integration, const unsigned int shortcut, bool enabled)
|
||||
{
|
||||
bool separatorline = false;
|
||||
unsigned int number_of_plugins = (unsigned int) g_Plugins->getNumberOfPlugins();
|
||||
|
@@ -613,7 +613,7 @@ class CMenuWidget : public CMenuTarget, public CComponentsSignals
|
||||
virtual void hide();
|
||||
virtual int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
virtual const char *getName();
|
||||
virtual void integratePlugins(CPlugins::i_type_t integration, const unsigned int shortcut=CRCInput::RC_nokey, bool enabled=true);
|
||||
virtual void integratePlugins(int integration, const unsigned int shortcut=CRCInput::RC_nokey, bool enabled=true);
|
||||
void setSelected(const int &Preselected){ selected = Preselected; };
|
||||
void initSelectable();
|
||||
int getSelected()const { return selected; };
|
||||
|
Reference in New Issue
Block a user