summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/MiddleWare/MiddleWare.h7
-rw-r--r--lib/MiddleWare/test.cpp7
2 files changed, 5 insertions, 9 deletions
diff --git a/lib/MiddleWare/MiddleWare.h b/lib/MiddleWare/MiddleWare.h
index 7164d48b..526888ea 100644
--- a/lib/MiddleWare/MiddleWare.h
+++ b/lib/MiddleWare/MiddleWare.h
@@ -55,7 +55,10 @@ class CMiddleWare
void LoadSettings(const std::string& pPath);
- void DebugDump2Report(const std::string& pDebugDumpDir, CReporter::report_t& pReport);
+ void DebugDump2Report(const std::string& pDebugDumpDir,
+ CReporter::report_t& pReport);
+ void CreateReport(const std::string& pDebugDumpDir,
+ crash_report_t& pReport);
public:
@@ -86,8 +89,6 @@ class CMiddleWare
void RegisterPlugin(const std::string& pName);
void UnRegisterPlugin(const std::string& pName);
- void CreateReport(const std::string& pDebugDumpDir,
- crash_report_t& pReport);
void CreateReport(const std::string& pUUID,
const std::string& pUID,
crash_report_t& pReport);
diff --git a/lib/MiddleWare/test.cpp b/lib/MiddleWare/test.cpp
index 1868284a..77b671a9 100644
--- a/lib/MiddleWare/test.cpp
+++ b/lib/MiddleWare/test.cpp
@@ -53,12 +53,7 @@ int main(int argc, char** argv)
info.m_sExecutable << std::endl;
/* Get Report, so user can change data (remove private stuff)
- *
- * If we want to send report immediately after DebugDump was created,
- * we can use:
- * middleWare.CreateReport(debugDumpDir, crashReport);
- * and after that it can be easily reported by:
- * middleWare.Report(crashReport);
+ * If we do not want user interaction, just send data immediately
*/
CMiddleWare::crash_report_t crashReport;
middleWare.CreateReport(info.m_sUUID, info.m_sUID, crashReport);