mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-03 02:41:21 +02:00
as requested, implement 'easy' menu mode for novice users;
default behavior should not be changed, easy mode forced by /var/etc/.easymenu file inside image; at the moment switch between modes is done by main menu -> 'stop' button -> enter pin code, restart needed after mode switch
This commit is contained in:
@@ -35,21 +35,21 @@
|
||||
|
||||
//#define CPU_FREQ
|
||||
|
||||
class CMiscMenue : public CMenuTarget
|
||||
class CMiscMenue : public CMenuTarget, CChangeObserver
|
||||
{
|
||||
private:
|
||||
CFanControlNotifier *fanNotifier;
|
||||
CSectionsdConfigNotifier* sectionsdConfigNotifier;
|
||||
COnOffNotifier* miscNotifier;
|
||||
//COnOffNotifier* miscNotifier;
|
||||
COnOffNotifier* miscEpgNotifier;
|
||||
int width;
|
||||
|
||||
int showMiscSettingsMenu();
|
||||
void showMiscSettingsMenuGeneral(CMenuWidget *ms_general);
|
||||
void showMiscSettingsMenuEnergy(CMenuWidget *ms_energy);
|
||||
void showMiscSettingsMenuEpg(CMenuWidget *ms_epg);
|
||||
void showMiscSettingsMenuFBrowser(CMenuWidget *ms_fbrowser);
|
||||
void showMiscSettingsMenuChanlist(CMenuWidget *ms_chanlist);
|
||||
int showMiscSettingsMenuEnergy();
|
||||
int showMiscSettingsMenuChanlist();
|
||||
#ifdef CPU_FREQ
|
||||
void showMiscSettingsMenuCPUFreq(CMenuWidget *ms_cpu);
|
||||
#endif /*CPU_FREQ*/
|
||||
@@ -57,8 +57,7 @@ class CMiscMenue : public CMenuTarget
|
||||
CMiscMenue();
|
||||
~CMiscMenue();
|
||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
|
||||
bool changeNotify(const neutrino_locale_t OptionName, void * /*data*/);
|
||||
};
|
||||
|
||||
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user