mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +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
Origin commit data
------------------
Commit: 606bd01878
Author: [CST] Focus <focus.cst@gmail.com>
Date: 2013-10-25 (Fri, 25 Oct 2013)
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