mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-08 15:54:10 +00:00
Allow link to reflector at startup.
This commit is contained in:
parent
b2c33793b7
commit
dda5ac7c57
7 changed files with 41 additions and 1 deletions
|
|
@ -64,6 +64,7 @@ m_networkEnabled(false),
|
|||
m_networkDataPort(0U),
|
||||
m_networkStatusPort(0U),
|
||||
m_networkHosts(),
|
||||
m_networkStartup(),
|
||||
m_networkDebug(false)
|
||||
{
|
||||
}
|
||||
|
|
@ -174,6 +175,8 @@ bool CConf::read()
|
|||
m_networkStatusPort = (unsigned int)::atoi(value);
|
||||
else if (::strcmp(key, "Hosts") == 0)
|
||||
m_networkHosts = value;
|
||||
else if (::strcmp(key, "Startup") == 0)
|
||||
m_networkStartup = value;
|
||||
else if (::strcmp(key, "Debug") == 0)
|
||||
m_networkDebug = ::atoi(value) == 1;
|
||||
}
|
||||
|
|
@ -319,6 +322,11 @@ std::string CConf::getNetworkHosts() const
|
|||
return m_networkHosts;
|
||||
}
|
||||
|
||||
std::string CConf::getNetworkStartup() const
|
||||
{
|
||||
return m_networkStartup;
|
||||
}
|
||||
|
||||
bool CConf::getNetworkDebug() const
|
||||
{
|
||||
return m_networkDebug;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue