mirror of
https://github.com/g4klx/DMRGateway.git
synced 2026-04-07 07:23:50 +00:00
Move the location to the DMR Gateway from the Host.
This commit is contained in:
parent
f6643eb697
commit
1606c4e644
7 changed files with 24 additions and 9 deletions
8
Conf.cpp
8
Conf.cpp
|
|
@ -63,6 +63,7 @@ m_logFileRoot(),
|
|||
m_infoLatitude(0.0F),
|
||||
m_infoLongitude(0.0F),
|
||||
m_infoHeight(0),
|
||||
m_infoLocation(),
|
||||
m_infoDescription(),
|
||||
m_infoURL(),
|
||||
m_dmrNetwork1Enabled(false),
|
||||
|
|
@ -287,6 +288,8 @@ bool CConf::read()
|
|||
m_infoLongitude = float(::atof(value));
|
||||
else if (::strcmp(key, "Height") == 0)
|
||||
m_infoHeight = ::atoi(value);
|
||||
else if (::strcmp(key, "Location") == 0)
|
||||
m_infoLocation = value;
|
||||
else if (::strcmp(key, "Description") == 0)
|
||||
m_infoDescription = value;
|
||||
else if (::strcmp(key, "URL") == 0)
|
||||
|
|
@ -1047,6 +1050,11 @@ int CConf::getInfoHeight() const
|
|||
return m_infoHeight;
|
||||
}
|
||||
|
||||
std::string CConf::getInfoLocation() const
|
||||
{
|
||||
return m_infoLocation;
|
||||
}
|
||||
|
||||
std::string CConf::getInfoDescription() const
|
||||
{
|
||||
return m_infoDescription;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue