diff options
| author | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-19 17:14:05 +0100 |
|---|---|---|
| committer | Denys Vlasenko <dvlasenk@redhat.com> | 2011-01-19 17:14:05 +0100 |
| commit | 480cac7647d567c3c3cb148c5a4750091b651934 (patch) | |
| tree | 2ca255952e55660af4374aa889fdba7c14d2d6da /src/lib | |
| parent | e001c3c0c7d8dc9576f1630551a73cc01f19769b (diff) | |
| download | abrt-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/lib')
| -rw-r--r-- | src/lib/Makefile.am | 6 | ||||
| -rw-r--r-- | src/lib/Plugin.cpp | 41 |
2 files changed, 2 insertions, 45 deletions
diff --git a/src/lib/Makefile.am b/src/lib/Makefile.am index 6d6c22bb..20fbd4ed 100644 --- a/src/lib/Makefile.am +++ b/src/lib/Makefile.am @@ -78,8 +78,7 @@ libabrt_dbus_la_LIBADD = \ $(DBUS_LIBS) libabrt_daemon_la_SOURCES = \ - CommLayerInner.cpp \ - Plugin.cpp + CommLayerInner.cpp libabrt_daemon_la_CPPFLAGS = \ -I$(srcdir)/../include/report -I$(srcdir)/../include \ -DDEBUG_DUMPS_DIR=\"$(DEBUG_DUMPS_DIR)\" \ @@ -93,8 +92,7 @@ libabrt_daemon_la_CPPFLAGS = \ -D_GNU_SOURCE libabrt_daemon_la_LDFLAGS = \ -version-info 0:1:0 -libabrt_daemon_la_LIBADD = \ - -ldl +libabrt_daemon_la_LIBADD = libabrt_web_la_SOURCES = \ abrt_curl.h abrt_curl.c \ diff --git a/src/lib/Plugin.cpp b/src/lib/Plugin.cpp deleted file mode 100644 index 0c2137f5..00000000 --- a/src/lib/Plugin.cpp +++ /dev/null @@ -1,41 +0,0 @@ -/* - Copyright (C) 2009 Zdenek Prikryl (zprikryl@redhat.com) - Copyright (C) 2009 RedHat inc. - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 2 of the License, or - (at your option) any later version. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License along - with this program; if not, write to the Free Software Foundation, Inc., - 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. -*/ -#include "plugin.h" -#include "abrtlib.h" - -CPlugin::CPlugin() {} - -/* class CPlugin's virtuals */ -CPlugin::~CPlugin() {} -void CPlugin::Init() {} -void CPlugin::DeInit() {} -void CPlugin::SetSettings(const map_plugin_settings_t& pSettings) -{ - m_pSettings = pSettings; - VERB3 - { - log("SetSettings:"); - map_plugin_settings_t::const_iterator it = m_pSettings.begin(); - while (it != m_pSettings.end()) - { - log(" settings[%s]='%s'", it->first.c_str(), it->second.c_str()); - it++; - } - } -} |
