mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-03 02:41:12 +02:00
start_wizard: use a global enum; switch detection from bool to int
Origin commit data
------------------
Branch: ni/coolstream
Commit: af90286a30
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-05-15 (Fri, 15 May 2015)
Origin message was:
------------------
- start_wizard: use a global enum; switch detection from bool to int
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -52,8 +52,7 @@ class COsdLangSetup : public CMenuTarget, CChangeObserver
|
||||
{
|
||||
private:
|
||||
int width;
|
||||
|
||||
bool is_wizard;
|
||||
int is_wizard;
|
||||
CTZChangeNotifier * tzNotifier;
|
||||
|
||||
int showLocalSetup();
|
||||
@@ -61,17 +60,10 @@ class COsdLangSetup : public CMenuTarget, CChangeObserver
|
||||
|
||||
CMenuOptionStringChooser* getTzItems();
|
||||
|
||||
|
||||
bool changeNotify(const neutrino_locale_t, void *);
|
||||
|
||||
public:
|
||||
enum OSDLANG_SETUP_MODE
|
||||
{
|
||||
OSDLANG_SETUP_MODE_WIZARD_NO = 0,
|
||||
OSDLANG_SETUP_MODE_WIZARD = 1
|
||||
};
|
||||
|
||||
COsdLangSetup(bool wizard_mode = OSDLANG_SETUP_MODE_WIZARD_NO);
|
||||
COsdLangSetup(int wizard_mode = SNeutrinoSettings::WIZARD_OFF);
|
||||
~COsdLangSetup();
|
||||
int exec(CMenuTarget* parent, const std::string & actionKey);
|
||||
void showLanguageSetup(CMenuWidget *osdl_setup);
|
||||
|
Reference in New Issue
Block a user