summaryrefslogtreecommitdiffstats
path: root/lib/MiddleWare/Reporter.h
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-08-14 20:59:43 +0200
committerZdenek Prikryl <zprikryl@redhat.com>2009-08-14 20:59:43 +0200
commit3c226c987f5015e8184bfc4293ee9f9b2f7b8f67 (patch)
treeb2ec9e8f5ec3140008a15cccea4030c438dbe72e /lib/MiddleWare/Reporter.h
parent15e44fefb8e0ce093e91bc0fd96302c6b77bf92a (diff)
downloadabrt-3c226c987f5015e8184bfc4293ee9f9b2f7b8f67.tar.gz
abrt-3c226c987f5015e8184bfc4293ee9f9b2f7b8f67.tar.xz
abrt-3c226c987f5015e8184bfc4293ee9f9b2f7b8f67.zip
added support for storing results from reporters (used from gui)
Diffstat (limited to 'lib/MiddleWare/Reporter.h')
-rw-r--r--lib/MiddleWare/Reporter.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/MiddleWare/Reporter.h b/lib/MiddleWare/Reporter.h
index 810b316..c74a10c 100644
--- a/lib/MiddleWare/Reporter.h
+++ b/lib/MiddleWare/Reporter.h
@@ -38,9 +38,10 @@ class CReporter : public CPlugin
* by itself.
* @param pCrashReport A crash report.
* @param pArgs Plugin's arguments.
+ * @retun A message which can be displayed after a report is created.
*/
- virtual void Report(const map_crash_report_t& pCrashReport,
- const std::string& pArgs) = 0;
+ virtual std::string Report(const map_crash_report_t& pCrashReport,
+ const std::string& pArgs) = 0;
};
#endif /* REPORTER_H_ */