mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-29 00:11:14 +02:00
- start_wizard: use a global enum; switch detection from bool to int
This commit is contained in:
@@ -52,7 +52,7 @@
|
||||
extern CAudioSetupNotifier * audioSetupNotifier;
|
||||
extern cAudio *audioDecoder;
|
||||
|
||||
CAudioSetup::CAudioSetup(bool wizard_mode)
|
||||
CAudioSetup::CAudioSetup(int wizard_mode)
|
||||
{
|
||||
is_wizard = wizard_mode;
|
||||
|
||||
@@ -255,13 +255,6 @@ int CAudioSetup::showAudioSetup()
|
||||
return res;
|
||||
}
|
||||
|
||||
//sets menu mode to "wizard" or "default"
|
||||
void CAudioSetup::setWizardMode(bool mode)
|
||||
{
|
||||
printf("[neutrino audio setup] %s set audio settings menu to mode %d...\n", __FUNCTION__, mode);
|
||||
is_wizard = mode;
|
||||
}
|
||||
|
||||
CTruVolumeNotifier::CTruVolumeNotifier(CMenuOptionChooser* o1, CMenuOptionChooser* o2, CMenuOptionNumberChooser *n1)
|
||||
{
|
||||
toDisable_oj[0]=o1;
|
||||
|
Reference in New Issue
Block a user