diff options
| author | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-06 15:49:21 +0200 |
|---|---|---|
| committer | Jiri Moskovcak <jmoskovc@redhat.com> | 2009-08-06 15:49:21 +0200 |
| commit | 9a3268d970142f0dfb4e3e77c66c9637bf87fbda (patch) | |
| tree | e5626fd3a9fd086abf3a1790a67bc708b8de94b8 /lib/CommLayer/DBusServerProxy.h | |
| parent | 53cec748dd575298de6cf3e47afe5736c61bfe21 (diff) | |
| download | abrt-9a3268d970142f0dfb4e3e77c66c9637bf87fbda.tar.gz abrt-9a3268d970142f0dfb4e3e77c66c9637bf87fbda.tar.xz abrt-9a3268d970142f0dfb4e3e77c66c9637bf87fbda.zip | |
DBUS: added method GetPluginsInfo()
Diffstat (limited to 'lib/CommLayer/DBusServerProxy.h')
| -rw-r--r-- | lib/CommLayer/DBusServerProxy.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/lib/CommLayer/DBusServerProxy.h b/lib/CommLayer/DBusServerProxy.h index 1b8159b..157a95f 100644 --- a/lib/CommLayer/DBusServerProxy.h +++ b/lib/CommLayer/DBusServerProxy.h @@ -36,6 +36,7 @@ public: register_method(CDBusServer_adaptor, Report, _Report_stub); register_method(CDBusServer_adaptor, DeleteDebugDump, _DeleteDebugDump_stub); register_method(CDBusServer_adaptor, GetJobResult, _GetJobResult_stub); + register_method(CDBusServer_adaptor, GetPluginsInfo, _GetPluginsInfo_stub); } /* reveal Interface introspection when we stabilize the API */ /* @@ -95,7 +96,7 @@ public: virtual bool Report(map_crash_report_t pReport, const std::string &pDBusSender) = 0; virtual bool DeleteDebugDump(const std::string& pUUID, const std::string& pDBusSender) = 0; virtual map_crash_report_t GetJobResult(uint64_t pJobID, const std::string& pDBusSender) = 0; - + virtual vector_map_string_string_t GetPluginsInfo() = 0; public: /* signal emitters for this interface @@ -216,5 +217,15 @@ private: wi << report; return reply; } + + DBus::Message _GetPluginsInfo_stub(const DBus::CallMessage &call) + { + vector_map_string_string_t plugins_info; + plugins_info = GetPluginsInfo(); + DBus::ReturnMessage reply(call); + DBus::MessageIter wi = reply.writer(); + wi << plugins_info; + return reply; + } }; |
