summaryrefslogtreecommitdiffstats
path: root/src/daemon/MiddleWare.cpp
diff options
context:
space:
mode:
authorDenys Vlasenko <dvlasenk@redhat.com>2011-01-19 17:14:05 +0100
committerDenys Vlasenko <dvlasenk@redhat.com>2011-01-19 17:14:05 +0100
commit480cac7647d567c3c3cb148c5a4750091b651934 (patch)
tree2ca255952e55660af4374aa889fdba7c14d2d6da /src/daemon/MiddleWare.cpp
parente001c3c0c7d8dc9576f1630551a73cc01f19769b (diff)
downloadabrt-480cac7647d567c3c3cb148c5a4750091b651934.tar.gz
abrt-480cac7647d567c3c3cb148c5a4750091b651934.tar.xz
abrt-480cac7647d567c3c3cb148c5a4750091b651934.zip
remove old plugin machinery. -10k and -1 library dependence in abrtd
Signed-off-by: Denys Vlasenko <dvlasenk@redhat.com>
Diffstat (limited to 'src/daemon/MiddleWare.cpp')
-rw-r--r--src/daemon/MiddleWare.cpp22
1 files changed, 1 insertions, 21 deletions
diff --git a/src/daemon/MiddleWare.cpp b/src/daemon/MiddleWare.cpp
index 1379e4fb..4da4db19 100644
--- a/src/daemon/MiddleWare.cpp
+++ b/src/daemon/MiddleWare.cpp
@@ -19,6 +19,7 @@
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include "abrtlib.h"
+#include "plugin.h"
#include "Daemon.h"
#include "Settings.h"
#include "comm_layer_inner.h"
@@ -28,14 +29,6 @@
using namespace std;
/**
- * An instance of CPluginManager. When MiddleWare wants to do something
- * with plugins, it calls the plugin manager.
- * @see PluginManager.h
- */
-CPluginManager* g_pPluginManager;
-
-
-/**
* Get one crash info. If getting is successful,
* then crash info is filled.
* @param dump_dir_name A dump dir containing all necessary data.
@@ -179,19 +172,6 @@ static mw_result_t CreateCrashReport(const char *dump_dir_name,
return r;
}
-void RunAction(const char *pActionDir,
- const char *pPluginName,
- const char *pPluginArgs)
-{
- CAction* action = g_pPluginManager->GetAction(pPluginName);
- if (!action)
- {
- /* GetAction() already complained */
- return;
- }
- action->Run(pActionDir, pPluginArgs, /*force:*/ 0);
-}
-
struct logging_state {
char *last_line;
};