mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 16:31:11 +02:00
*neutrino personalize: rework pin access
PIN access of personalize setup now managed with an own pin management. git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-beta@2105 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -74,6 +74,16 @@ class CUserMenuNotifier : public CChangeObserver
|
||||
bool changeNotify(const neutrino_locale_t = NONEXISTANT_LOCALE, void *data = NULL);
|
||||
};
|
||||
|
||||
//helper class to enable/disable pin setup
|
||||
class CPinSetupNotifier : public CChangeObserver
|
||||
{
|
||||
private:
|
||||
CMenuItem* toDisable;
|
||||
public:
|
||||
CPinSetupNotifier( CMenuItem*);
|
||||
bool changeNotify(const neutrino_locale_t = NONEXISTANT_LOCALE, void *data = NULL);
|
||||
};
|
||||
|
||||
|
||||
//some required typedefs
|
||||
typedef struct mn_widget_t
|
||||
@@ -122,10 +132,14 @@ typedef struct personalize_settings_t
|
||||
} personalize_settings_struct_t;
|
||||
|
||||
|
||||
class CPersonalizeGui : public CMenuTarget, public CChangeObserver
|
||||
class CPersonalizeGui : public CMenuTarget, public CChangeObserver, public CPINProtection
|
||||
{
|
||||
protected:
|
||||
virtual CMenuTarget* getParent() { return( NULL);};
|
||||
|
||||
private:
|
||||
CUserMenuNotifier *user_menu_notifier;
|
||||
CPinSetupNotifier *pin_setup_notifier;
|
||||
CMenuWidget* fkeyMenu;
|
||||
CMenuWidget* plMenu;
|
||||
CMenuWidget* tmpW;
|
||||
|
Reference in New Issue
Block a user