summaryrefslogtreecommitdiffstats
path: root/lib/DBus/DbusClient.h
diff options
context:
space:
mode:
authorJiri Moskovcak <jmoskovc@redhat.com>2009-02-12 16:02:29 +0100
committerJiri Moskovcak <jmoskovc@redhat.com>2009-02-12 16:02:29 +0100
commit164c692385ddf3b17fbc9417b748f198ff19b096 (patch)
treeeca3c81d10577f37386209b66e1a4f3c55f31844 /lib/DBus/DbusClient.h
parent53821dddf0b6ee66dc5f0684b17c541c157656ec (diff)
downloadabrt-164c692385ddf3b17fbc9417b748f198ff19b096.tar.gz
abrt-164c692385ddf3b17fbc9417b748f198ff19b096.tar.xz
abrt-164c692385ddf3b17fbc9417b748f198ff19b096.zip
Rewritten dbus to dbus-c++
Added possibility to call daemon methods via dbus
Diffstat (limited to 'lib/DBus/DbusClient.h')
-rw-r--r--lib/DBus/DbusClient.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/lib/DBus/DbusClient.h b/lib/DBus/DbusClient.h
new file mode 100644
index 00000000..e278c50d
--- /dev/null
+++ b/lib/DBus/DbusClient.h
@@ -0,0 +1,15 @@
+#include <dbus-c++/dbus.h>
+#include "DBusClientProxy.h"
+
+class CDBusClient
+: public org::freedesktop::DBus::CDBusClient_proxy,
+ public DBus::IntrospectableProxy,
+ public DBus::ObjectProxy
+{
+public:
+
+ CDBusClient(DBus::Connection &connection, const char *path, const char *name);
+ ~CDBusClient();
+ void Crash(const DBus::Variant &value);
+};
+