Option to filter callsigns without DMR ID from YSF

This commit is contained in:
Marius Petrescu, YO2LOJ
2019-05-11 21:02:16 +03:00
committed by GitHub
parent e375e1f515
commit 7e39ea2a71
5 changed files with 37 additions and 13 deletions
+7
View File
@@ -240,6 +240,8 @@ bool CConf::read()
m_dmrIdLookupFile = value;
else if (::strcmp(key, "Time") == 0)
m_dmrIdLookupTime = (unsigned int)::atoi(value);
if (::strcmp(key, "DropUnknown") == 0)
m_dmrDropUnknown = ::atoi(value) == 1;
} else if (section == SECTION_LOG) {
if (::strcmp(key, "FilePath") == 0)
m_logFilePath = value;
@@ -517,6 +519,11 @@ unsigned int CConf::getDMRIdLookupTime() const
return m_dmrIdLookupTime;
}
bool CConf::getDMRDropUnknown() const
{
return m_dmrDropUnknown;
}
unsigned int CConf::getLogDisplayLevel() const
{
return m_logDisplayLevel;