summaryrefslogtreecommitdiffstats
path: root/src/Daemon/Settings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Daemon/Settings.cpp')
-rw-r--r--src/Daemon/Settings.cpp13
1 files changed, 11 insertions, 2 deletions
diff --git a/src/Daemon/Settings.cpp b/src/Daemon/Settings.cpp
index 097dbc9..240a6f6 100644
--- a/src/Daemon/Settings.cpp
+++ b/src/Daemon/Settings.cpp
@@ -112,6 +112,11 @@ void CSettings::ParseCommon()
{
m_nMaxCrashReportsSize = atoi(m_mapSettingsCommon["MaxCrashReportsSize"].c_str());
}
+ if (m_mapSettingsCommon.find("Reporters") != m_mapSettingsCommon.end())
+ {
+ m_setReporters = ParseList(m_mapSettingsCommon["Reporters"]);
+ }
+
}
void CSettings::ParseReporters()
@@ -267,12 +272,12 @@ const bool& CSettings::GetOpenGPGCheck()
return m_bOpenGPGCheck;
}
-const CSettings::map_analyzer_reporters_t& CSettings::GetReporters()
+const CSettings::map_analyzer_reporters_t& CSettings::GetAnalyzerReporters()
{
return m_mapAnalyzerReporters;
}
-const CSettings::map_analyzer_actions_t& CSettings::GetActions()
+const CSettings::map_analyzer_actions_t& CSettings::GetAnalyzerActions()
{
return m_mapAnalyzerActions;
}
@@ -285,3 +290,7 @@ const std::string& CSettings::GetDatabase()
{
return m_sDatabase;
}
+const CSettings::set_strings_t& CSettings::GetReporters()
+{
+ return m_setReporters;
+}