Move the location to the DMR Gateway from the Host.

This commit is contained in:
Jonathan Naylor
2020-08-27 10:37:26 +01:00
parent f6643eb697
commit 1606c4e644
7 changed files with 24 additions and 9 deletions

View File

@@ -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;