summaryrefslogtreecommitdiffstats
path: root/lib/MiddleWare/Reporter.h
diff options
context:
space:
mode:
authorZdenek Prikryl <zprikryl@redhat.com>2009-02-18 10:08:02 +0100
committerZdenek Prikryl <zprikryl@redhat.com>2009-02-18 10:08:02 +0100
commiteb8c0389615bb5cce2e28a24be950179dcad49cf (patch)
treeb756e2c25b7c4ca5e57e4c81a0508b75c59a9f46 /lib/MiddleWare/Reporter.h
parent65ae557fd0f94b6ffa088fcc4bbcf62a6499934e (diff)
downloadabrt-eb8c0389615bb5cce2e28a24be950179dcad49cf.tar.gz
abrt-eb8c0389615bb5cce2e28a24be950179dcad49cf.tar.xz
abrt-eb8c0389615bb5cce2e28a24be950179dcad49cf.zip
refactor because of new types
Diffstat (limited to 'lib/MiddleWare/Reporter.h')
-rw-r--r--lib/MiddleWare/Reporter.h15
1 files changed, 2 insertions, 13 deletions
diff --git a/lib/MiddleWare/Reporter.h b/lib/MiddleWare/Reporter.h
index 8f23065..80fe668 100644
--- a/lib/MiddleWare/Reporter.h
+++ b/lib/MiddleWare/Reporter.h
@@ -24,25 +24,14 @@
#include <string>
#include "Plugin.h"
+#include "CrashTypes.h"
class CReporter : public CPlugin
{
public:
- typedef struct SReport
- {
- std::string m_sArchitecture;
- std::string m_sKernel;
- std::string m_sExecutable;
- std::string m_sCmdLine;
- std::string m_sPackage;
- std::string m_sTextData1;
- std::string m_sTextData2;
- std::string m_bBinaryData1;
- std::string m_bBinaryData2;
- } report_t;
virtual ~CReporter() {}
- virtual void Report(const report_t& pReport) = 0;
+ virtual void Report(const crash_report_t& pReport) = 0;
};
#endif /* REPORTER_H_ */