mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 00:11:08 +02:00
Neutrino: rework COnOffNotifier and use it if possible, ported from tuxbox cvs
Origin commit data
------------------
Branch: ni/coolstream
Commit: 7b06b3fd38
Author: Jacek Jendrzej <overx300@gmail.com>
Date: 2012-10-11 (Thu, 11 Oct 2012)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -55,22 +55,16 @@ class CGenericMenuActivate
|
||||
};
|
||||
|
||||
class COnOffNotifier : public CChangeObserver
|
||||
{
|
||||
private:
|
||||
int number;
|
||||
CMenuItem* toDisable[5];
|
||||
public:
|
||||
COnOffNotifier (CMenuItem* a1,CMenuItem* a2 = NULL,CMenuItem* a3 = NULL,CMenuItem* a4 = NULL,CMenuItem* a5 = NULL);
|
||||
bool changeNotify(const neutrino_locale_t, void *Data);
|
||||
};
|
||||
|
||||
class CMiscNotifier : public CChangeObserver
|
||||
{
|
||||
private:
|
||||
CMenuItem* toDisable[2];
|
||||
int offValue;
|
||||
std::vector<CMenuItem*> toDisable;
|
||||
|
||||
public:
|
||||
CMiscNotifier( CMenuItem*, CMenuItem* );
|
||||
bool changeNotify(const neutrino_locale_t, void *);
|
||||
COnOffNotifier(int OffValue = 0);
|
||||
bool changeNotify(const neutrino_locale_t, void *Data);
|
||||
|
||||
void addItem(CMenuItem* menuItem);
|
||||
};
|
||||
|
||||
class CSectionsdConfigNotifier : public CChangeObserver
|
||||
|
Reference in New Issue
Block a user