summaryrefslogtreecommitdiffstats
path: root/lib/MiddleWare/MiddleWare.h
diff options
context:
space:
mode:
authorZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-16 15:19:21 +0200
committerZdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com>2009-04-16 15:19:21 +0200
commitd71fe39576ded4e9567f5f938e9ef67183bb8afd (patch)
treeece53e7155d3d85ce5d2e700c3cf729f42241b4c /lib/MiddleWare/MiddleWare.h
parent3e7c2ab09e4bcb4b63fd80ed33c99539d3a27c5f (diff)
downloadabrt-d71fe39576ded4e9567f5f938e9ef67183bb8afd.tar.gz
abrt-d71fe39576ded4e9567f5f938e9ef67183bb8afd.tar.xz
abrt-d71fe39576ded4e9567f5f938e9ef67183bb8afd.zip
simple report can be activated immediately after a crash occurs
Diffstat (limited to 'lib/MiddleWare/MiddleWare.h')
-rw-r--r--lib/MiddleWare/MiddleWare.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/MiddleWare/MiddleWare.h b/lib/MiddleWare/MiddleWare.h
index 86db708..28afb2a 100644
--- a/lib/MiddleWare/MiddleWare.h
+++ b/lib/MiddleWare/MiddleWare.h
@@ -45,6 +45,7 @@ class CMiddleWare
std::string m_sDatabase;
map_reporter_associations_t m_mapAnalyzerReporters;
map_action_associations_t m_mapAnalyzerActions;
+ set_reporters_t m_setReporters;
bool m_bOpenGPGCheck;
@@ -79,6 +80,7 @@ class CMiddleWare
const std::string& pUID,
map_crash_report_t& pCrashReport);
+ void Report(const std::string& pDebugDumpDir);
void Report(const map_crash_report_t& pCrashReport);
void DeleteDebugDumpDir(const std::string& pDebugDumpDir);
void DeleteCrashInfo(const std::string& pUUID,
@@ -100,6 +102,7 @@ class CMiddleWare
void AddAnalyzerAction(const std::string& pAnalyzer,
const std::string& pAction,
const std::string& pArgs);
+ void AddReporter(const std::string& pReporter);
};
#endif /*MIDDLEWARE_H_*/