diff options
author | Zdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com> | 2009-04-16 15:19:21 +0200 |
---|---|---|
committer | Zdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com> | 2009-04-16 15:19:21 +0200 |
commit | d71fe39576ded4e9567f5f938e9ef67183bb8afd (patch) | |
tree | ece53e7155d3d85ce5d2e700c3cf729f42241b4c /src/Daemon/Settings.cpp | |
parent | 3e7c2ab09e4bcb4b63fd80ed33c99539d3a27c5f (diff) | |
download | abrt-d71fe39576ded4e9567f5f938e9ef67183bb8afd.tar.gz abrt-d71fe39576ded4e9567f5f938e9ef67183bb8afd.tar.xz abrt-d71fe39576ded4e9567f5f938e9ef67183bb8afd.zip |
simple report can be activated immediately after a crash occurs
Diffstat (limited to 'src/Daemon/Settings.cpp')
-rw-r--r-- | src/Daemon/Settings.cpp | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/src/Daemon/Settings.cpp b/src/Daemon/Settings.cpp index 097dbc9b..240a6f66 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; +} |