From fd1adf298726ccb55bbc8b4801543be6e3e0befb Mon Sep 17 00:00:00 2001 From: Zdenek Prikryl Date: Thu, 2 Apr 2009 14:08:26 +0200 Subject: try to add action plugin, not complete commit --- lib/MiddleWare/MiddleWare.cpp | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) (limited to 'lib/MiddleWare/MiddleWare.cpp') diff --git a/lib/MiddleWare/MiddleWare.cpp b/lib/MiddleWare/MiddleWare.cpp index 109fc3a..a99fb6e 100644 --- a/lib/MiddleWare/MiddleWare.cpp +++ b/lib/MiddleWare/MiddleWare.cpp @@ -137,6 +137,7 @@ void CMiddleWare::CreateCrashReport(const std::string& pUUID, dd.SaveText(FILENAME_UUID, UUID); dd.Close(); + //RunAnalyzerActions(analyzer, row.m_sDebugDumpDir); DebugDumpToCrashReport(row.m_sDebugDumpDir, pCrashReport); crash_file_t file; @@ -290,6 +291,10 @@ int CMiddleWare::SaveUUIDToDebugDump(const std::string& pDebugDumpDir) return 1; } +void CMiddleWare::RunAnalyzerActions(const std::string& pAnalyzer, const std::string& pDebugDumpDir) +{ +} + int CMiddleWare::SaveDebugDumpToDatabase(const std::string& pDebugDumpDir, crash_info_t& pCrashInfo) { CDatabase* database = m_pPluginManager->GetDatabase(m_sDatabase); @@ -443,8 +448,7 @@ void CMiddleWare::AddAnalyzerReporter(const std::string& pAnalyzer, } void CMiddleWare::AddAnalyzerAction(const std::string& pAnalyzer, - const std::string& pAction, - const vector_strings_t& pArgs) + const set_actions_t& pActions) { - m_mapAnalyzerActions[pAnalyzer][pAction] = pArgs; + m_mapAnalyzerActions[pAnalyzer] = pActions; } -- cgit