neutrino: add the possibility to lock bouquets by default

This basically inverts the "locked" attribute of bouquets.xml and
allows to selectively enable only favourites or similar.
This commit is contained in:
Stefan Seyfried
2011-10-30 11:53:44 +01:00
parent 9dbdfcf5c7
commit 3999e8d0e2
10 changed files with 29 additions and 4 deletions

View File

@@ -1012,9 +1012,12 @@ typedef enum
LOCALE_OPTIONS_ON,
LOCALE_OPTIONS_ON_WITHOUT_MESSAGES,
LOCALE_OPTIONS_SERIAL,
LOCALE_PARENTALLOCK_BOUQUETMODE,
LOCALE_PARENTALLOCK_CHANGEPIN,
LOCALE_PARENTALLOCK_CHANGEPIN_HINT1,
LOCALE_PARENTALLOCK_CHANGETOLOCKED,
LOCALE_PARENTALLOCK_DEFAULTLOCKED,
LOCALE_PARENTALLOCK_DEFAULTUNLOCKED,
LOCALE_PARENTALLOCK_HEAD,
LOCALE_PARENTALLOCK_LOCKAGE,
LOCALE_PARENTALLOCK_LOCKAGE12,

View File

@@ -1012,9 +1012,12 @@ const char * locale_real_names[] =
"options.on",
"options.on.without_messages",
"options.serial",
"parentallock.bouquetmode",
"parentallock.changepin",
"parentallock.changepin_hint1",
"parentallock.changetolocked",
"parentallock.defaultlocked",
"parentallock.defaultunlocked",
"parentallock.head",
"parentallock.lockage",
"parentallock.lockage12",

View File

@@ -450,6 +450,7 @@ struct SNeutrinoSettings
// parentallock
int parentallock_prompt;
int parentallock_lockage;
int parentallock_defaultlocked;
char parentallock_pincode[5];