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.h | |
| 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.h')
| -rw-r--r-- | lib/MiddleWare/MiddleWare.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/MiddleWare/MiddleWare.h b/lib/MiddleWare/MiddleWare.h index 2986b7e..7774954 100644 --- a/lib/MiddleWare/MiddleWare.h +++ b/lib/MiddleWare/MiddleWare.h @@ -36,8 +36,8 @@ class CMiddleWare typedef set_strings_t set_enabled_plugins_t; typedef set_strings_t set_reporters_t; typedef std::map<std::string, set_reporters_t> map_reporter_associations_t; - typedef std::map<std::string, vector_strings_t> map_single_actions_t; - typedef std::map<std::string, map_single_actions_t> map_action_associations_t; + typedef std::set<pair_string_string_t> set_actions_t; + typedef std::map<std::string, set_actions_t> map_action_associations_t; CPluginManager* m_pPluginManager; CRPM m_RPM; @@ -54,7 +54,7 @@ class CMiddleWare const std::string& pDebugDumpDir); void CreateReport(const std::string& pAnalyzer, const std::string& pDebugDumpDir); - + void RunAnalyzerActions(const std::string& pAnalyzer, const std::string& pDebugDumpDir); void DebugDumpToCrashReport(const std::string& pDebugDumpDir, crash_report_t& pCrashReport); @@ -98,8 +98,7 @@ class CMiddleWare void AddAnalyzerReporter(const std::string& pAnalyzer, const std::string& pReporter); void AddAnalyzerAction(const std::string& pAnalyzer, - const std::string& pAction, - const vector_strings_t& pArgs); + const set_actions_t& pActions); }; #endif /*MIDDLEWARE_H_*/ |
