diff options
| author | Zdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com> | 2009-04-02 14:08:26 +0200 |
|---|---|---|
| committer | Zdenek Prikryl <zdeny@dhcp-lab-218.englab.brq.redhat.com> | 2009-04-02 14:08:26 +0200 |
| commit | fd1adf298726ccb55bbc8b4801543be6e3e0befb (patch) | |
| tree | 1231097e046276a2ee236e6e0bc3b7021281a28f /lib/MiddleWare/MiddleWare.cpp | |
| parent | 8e42e0af34641cb0e7d20ec6c2dfcadae4811436 (diff) | |
| download | abrt-fd1adf298726ccb55bbc8b4801543be6e3e0befb.tar.gz abrt-fd1adf298726ccb55bbc8b4801543be6e3e0befb.tar.xz abrt-fd1adf298726ccb55bbc8b4801543be6e3e0befb.zip | |
try to add action plugin, not complete commit
Diffstat (limited to 'lib/MiddleWare/MiddleWare.cpp')
| -rw-r--r-- | lib/MiddleWare/MiddleWare.cpp | 10 |
1 files changed, 7 insertions, 3 deletions
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; } |
