summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/DBusServerProxy.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/CommLayer/DBusServerProxy.cpp')
-rw-r--r--lib/CommLayer/DBusServerProxy.cpp14
1 files changed, 14 insertions, 0 deletions
diff --git a/lib/CommLayer/DBusServerProxy.cpp b/lib/CommLayer/DBusServerProxy.cpp
index 6bf0fbd..18a7c0c 100644
--- a/lib/CommLayer/DBusServerProxy.cpp
+++ b/lib/CommLayer/DBusServerProxy.cpp
@@ -31,6 +31,7 @@ CDBusServer_adaptor::CDBusServer_adaptor()
register_method(CDBusServer_adaptor, DeleteDebugDump, _DeleteDebugDump_stub);
register_method(CDBusServer_adaptor, GetJobResult, _GetJobResult_stub);
register_method(CDBusServer_adaptor, GetPluginsInfo, _GetPluginsInfo_stub);
+ register_method(CDBusServer_adaptor, GetPluginSettings, _GetPluginSettings_stub);
}
/* reveal Interface introspection when we stabilize the API */
/*
@@ -204,3 +205,16 @@ DBus::Message CDBusServer_adaptor::_GetPluginsInfo_stub(const DBus::CallMessage
wi << plugins_info;
return reply;
}
+
+DBus::Message CDBusServer_adaptor::_GetPluginSettings_stub(const DBus::CallMessage &call)
+{
+ DBus::MessageIter ri = call.reader();
+ std::string PluginName;
+ ri >> PluginName;
+ map_plugin_settings_t plugin_settings;
+ plugin_settings = GetPluginSettings(PluginName);
+ DBus::ReturnMessage reply(call);
+ DBus::MessageIter wi = reply.writer();
+ wi << plugin_settings;
+ return reply;
+}