summaryrefslogtreecommitdiffstats
path: root/lib/MiddleWare
diff options
context:
space:
mode:
Diffstat (limited to 'lib/MiddleWare')
-rw-r--r--lib/MiddleWare/MiddleWare.h40
1 files changed, 22 insertions, 18 deletions
diff --git a/lib/MiddleWare/MiddleWare.h b/lib/MiddleWare/MiddleWare.h
index 526888e..71c85ef 100644
--- a/lib/MiddleWare/MiddleWare.h
+++ b/lib/MiddleWare/MiddleWare.h
@@ -31,6 +31,28 @@
class CMiddleWare
{
+ public:
+
+ typedef struct SCrashInfo
+ {
+ std::string m_sUUID;
+ std::string m_sUID;
+ std::string m_sCount;
+ std::string m_sExecutable;
+ std::string m_sPackage;
+ std::string m_sTime;
+ } crash_info_t;
+
+ typedef struct SCrashReport
+ {
+ std::string m_sUUID;
+ std::string m_sUID;
+ std::string m_sPlugin2ReportersName;
+ CReporter::report_t m_Report;
+ } crash_report_t;
+
+ typedef std::vector<crash_info_t> vector_crash_infos_t;
+
private:
typedef set_settings_t set_blacklist_t;
typedef set_settings_t set_enabled_plugins_t;
@@ -62,24 +84,6 @@ class CMiddleWare
public:
- typedef struct SCrashInfo
- {
- std::string m_sUUID;
- std::string m_sUID;
- std::string m_sCount;
- std::string m_sExecutable;
- std::string m_sPackage;
- std::string m_sTime;
- } crash_info_t;
-
- typedef struct SCrashReport
- {
- std::string m_sPlugin2ReportersName;
- CReporter::report_t m_Report;
- } crash_report_t;
-
- typedef std::vector<crash_info_t> vector_crash_infos_t;
-
CMiddleWare(const std::string& pPlugisConfDir,
const std::string& pPlugisLibDir,
const std::string& pMiddleWareConfFile);