summaryrefslogtreecommitdiffstats
path: root/lib/CommLayer/CommLayerServerDBus.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/CommLayerServerDBus.cpp
parent944ace188c56c5b1313e7597d7bb11079ed5c01d (diff)
downloadabrt-98f1102f06f5e593cd8f186271db5cadf0e28417.tar.gz
abrt-98f1102f06f5e593cd8f186271db5cadf0e28417.tar.xz
abrt-98f1102f06f5e593cd8f186271db5cadf0e28417.zip
DBUS: exposed method SetPluginSettings
Diffstat (limited to 'lib/CommLayer/CommLayerServerDBus.cpp')
-rw-r--r--lib/CommLayer/CommLayerServerDBus.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/CommLayer/CommLayerServerDBus.cpp b/lib/CommLayer/CommLayerServerDBus.cpp
index 4b6c99b..5d5972a 100644
--- a/lib/CommLayer/CommLayerServerDBus.cpp
+++ b/lib/CommLayer/CommLayerServerDBus.cpp
@@ -133,3 +133,9 @@ void CCommLayerServerDBus::UnRegisterPlugin(const std::string& pName)
return m_pObserver->UnRegisterPlugin(pName);
}
+void CCommLayerServerDBus::SetPluginSettings(const std::string& pName, const std::string& pSender, const map_plugin_settings_t& pSettings)
+{
+ unsigned long unix_uid = m_pConn->sender_unix_uid(pSender.c_str());
+ return m_pObserver->SetPluginSettings(pName, to_string(unix_uid), pSettings);
+}
+