summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/DBusServerProxy.cpp
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-08-12 18:37:55 +0200
committerJiri Moskovcak <jmoskovc@redhat.com>2009-08-12 18:37:55 +0200
commit98f1102f06f5e593cd8f186271db5cadf0e28417 (patch)
tree3293a343264d8f12d950aedb459c4ab122dc94a0 /lib/CommLayer/DBusServerProxy.cpp
parent944ace188c56c5b1313e7597d7bb11079ed5c01d (diff)
downloadabrt-98f1102f06f5e593cd8f186271db5cadf0e28417.tar.gz
abrt-98f1102f06f5e593cd8f186271db5cadf0e28417.tar.xz
abrt-98f1102f06f5e593cd8f186271db5cadf0e28417.zip
DBUS: exposed method SetPluginSettings
Diffstat (limited to 'lib/CommLayer/DBusServerProxy.cpp')
-rw-r--r--lib/CommLayer/DBusServerProxy.cpp13
1 files changed, 13 insertions, 0 deletions
diff --git a/lib/CommLayer/DBusServerProxy.cpp b/lib/CommLayer/DBusServerProxy.cpp
index a246e8a..5c785ce 100644
--- a/lib/CommLayer/DBusServerProxy.cpp
+++ b/lib/CommLayer/DBusServerProxy.cpp
@@ -34,6 +34,7 @@ CDBusServer_adaptor::CDBusServer_adaptor()
register_method(CDBusServer_adaptor, GetPluginSettings, _GetPluginSettings_stub);
register_method(CDBusServer_adaptor, RegisterPlugin, _RegisterPlugin_stub);
register_method(CDBusServer_adaptor, UnRegisterPlugin, _UnRegisterPlugin_stub);
+ register_method(CDBusServer_adaptor, SetPluginSettings, _SetPluginSettings_stub);
}
/* reveal Interface introspection when we stabilize the API */
/*
@@ -243,3 +244,15 @@ DBus::Message CDBusServer_adaptor::_UnRegisterPlugin_stub(const DBus::CallMessag
DBus::ReturnMessage reply(call);
return reply;
}
+
+DBus::Message CDBusServer_adaptor::_SetPluginSettings_stub(const DBus::CallMessage &call)
+{
+ DBus::MessageIter ri = call.reader();
+ std::string PluginName;
+ map_plugin_settings_t plugin_settings;
+ ri >> PluginName;
+ ri >> plugin_settings;
+ SetPluginSettings(PluginName, call.sender(), plugin_settings);
+ DBus::ReturnMessage reply(call);
+ return reply;
+}