summaryrefslogtreecommitdiffstats
path: root/lib/MiddleWare/Reporter.h
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-06-29 10:59:01 +0200
committerZdenek Prikryl <zprikryl@redhat.com>2009-06-29 10:59:01 +0200
commit7171080b4efbc279408047a7a2bf49fec3866456 (patch)
tree685ae2fdfc22557723d9c86a49e0d5bd3a92972a /lib/MiddleWare/Reporter.h
parent0f60b164457d0f0aa7f540c94625feaed4f9e3ce (diff)
downloadabrt-7171080b4efbc279408047a7a2bf49fec3866456.tar.gz
abrt-7171080b4efbc279408047a7a2bf49fec3866456.tar.xz
abrt-7171080b4efbc279408047a7a2bf49fec3866456.zip
added comments
Diffstat (limited to 'lib/MiddleWare/Reporter.h')
-rw-r--r--lib/MiddleWare/Reporter.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/MiddleWare/Reporter.h b/lib/MiddleWare/Reporter.h
index 76680df..87c46db 100644
--- a/lib/MiddleWare/Reporter.h
+++ b/lib/MiddleWare/Reporter.h
@@ -26,10 +26,23 @@
#include "Plugin.h"
#include "CrashTypes.h"
+/**
+ * An abstract class. The class defines a reporter plugin interface.
+ */
class CReporter : public CPlugin
{
public:
+ /**
+ * A destructor.
+ */
virtual ~CReporter() {}
+ /**
+ * A method, which reports a crash report to particular receiver.
+ * The plugin can takes arguments, but the plugin has to parse them
+ * by itself.
+ * @param pCrashReport A crash report.
+ * @param pArgs Plugin's arguments.
+ */
virtual void Report(const map_crash_report_t& pCrashReport,
const std::string& pArgs) = 0;
};