mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-29 16:31:05 +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:
@@ -65,7 +65,7 @@
|
||||
|
||||
extern int pinghost (const std::string &hostname, std::string *ip = NULL);
|
||||
|
||||
CNetworkSetup::CNetworkSetup(bool wizard_mode)
|
||||
CNetworkSetup::CNetworkSetup(int wizard_mode)
|
||||
{
|
||||
networkConfig = CNetworkConfig::getInstance();
|
||||
|
||||
@@ -671,13 +671,6 @@ bool CNetworkSetup::changeNotify(const neutrino_locale_t locale, void * /*Data*/
|
||||
return false;
|
||||
}
|
||||
|
||||
//sets menu mode to "wizard" or "default"
|
||||
void CNetworkSetup::setWizardMode(bool mode)
|
||||
{
|
||||
printf("[neutrino network setup] %s set network settings menu to mode %d...\n", __FUNCTION__, mode);
|
||||
is_wizard = mode;
|
||||
}
|
||||
|
||||
void CNetworkSetup::showCurrentNetworkSettings()
|
||||
{
|
||||
std::string ip, mask, broadcast, router, nameserver, text;
|
||||
|
Reference in New Issue
Block a user