- plugins: don't add hidden plugins to usermenu; ...

... use CPuginsExec::exec() to execute and drop CUserMenu::exec()
This commit is contained in:
svenhoefer
2014-11-07 09:34:37 +01:00
parent 6f3c77734c
commit c0b130c490
3 changed files with 8 additions and 12 deletions

View File

@@ -66,12 +66,11 @@ static user_menu_data_t user_menu[COL_BUTTONMAX] =
// const neutrino_msg_t col_key_helper_msg_def[COL_BUTTONMAX]={CRCInput::RC_red,CRCInput::RC_green,CRCInput::RC_yellow,CRCInput::RC_blue};
// const char * col_key_helper_icon_def[COL_BUTTONMAX]={NEUTRINO_ICON_BUTTON_RED,NEUTRINO_ICON_BUTTON_GREEN,NEUTRINO_ICON_BUTTON_YELLOW,NEUTRINO_ICON_BUTTON_BLUE};
class CUserMenu : public CChangeObserver, CMenuTarget
class CUserMenu : public CChangeObserver
{
private:
int width;
bool changeNotify(const neutrino_locale_t OptionName, void *);
int exec(CMenuTarget* parent, const std::string & actionKey);
public:
CUserMenu();