mirror of
https://github.com/oe7drt/YSFClients.git
synced 2026-04-17 20:24:02 +00:00
Add APRS Symbol option (based on my PR https://github.com/g4klx/DMRGateway/pull/122)
This commit is contained in:
parent
471d031a08
commit
e3dd9f5321
7 changed files with 26 additions and 7 deletions
|
|
@ -71,6 +71,7 @@ m_aprsAddress(),
|
|||
m_aprsPort(0U),
|
||||
m_aprsSuffix(),
|
||||
m_aprsDescription(),
|
||||
m_aprsSymbol(),
|
||||
m_ysfNetHosts(),
|
||||
m_ysfRFHangTime(60U),
|
||||
m_ysfNetHangTime(60U),
|
||||
|
|
@ -230,6 +231,8 @@ bool CConf::read()
|
|||
m_aprsSuffix = value;
|
||||
else if (::strcmp(key, "Description") == 0)
|
||||
m_aprsDescription = value;
|
||||
else if (::strcmp(key, "Symbol") == 0)
|
||||
m_aprsSymbol = value;
|
||||
} else if (section == SECTION_YSF_NETWORK) {
|
||||
if (::strcmp(key, "Hosts") == 0)
|
||||
m_ysfNetHosts = value;
|
||||
|
|
@ -450,6 +453,11 @@ std::string CConf::getAPRSDescription() const
|
|||
return m_aprsDescription;
|
||||
}
|
||||
|
||||
std::string CConf::getAPRSSymbol() const
|
||||
{
|
||||
return m_aprsSymbol;
|
||||
}
|
||||
|
||||
std::string CConf::getYSFNetHosts() const
|
||||
{
|
||||
return m_ysfNetHosts;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue