Hidden Content Originally Posted by
sagem
Hidden Content
I've used this diff in my image Its great, pity you cant pin lock it though, maybe a suggestion for the tuxbox guy's
You can PIN lock items by referencing CLockedMenuForwarder in place of CMenuForwarder Hidden Content If you need an example of the syntax to use then look in neutrino.cpp for the main menu and locate the option for the 'Settings' menu which is PIN locked. I would do an example on here but Im on MSWindows at the moment.
Edit, here's two examples:
Code:
mainMenu.addItem(new CLockedMenuForwarder(LOCALE_MAINMENU_SERVICE, g_settings.parentallock_pincode, false, true, NULL, &service, NULL, CRCInput::convertDigitToKey(shortcut++)));
Code:
mainSettings.addItem(new CLockedMenuForwarder(LOCALE_PARENTALLOCK_PARENTALLOCK, g_settings.parentallock_pincode, true, true, NULL, &parentallockSettings, NULL, CRCInput::RC_3));
Bookmarks