summaryrefslogtreecommitdiff
path: root/examples/properties/propsgs-client.h
diff options
context:
space:
mode:
Diffstat (limited to 'examples/properties/propsgs-client.h')
-rw-r--r--examples/properties/propsgs-client.h22
1 files changed, 22 insertions, 0 deletions
diff --git a/examples/properties/propsgs-client.h b/examples/properties/propsgs-client.h
new file mode 100644
index 0000000..99b70c5
--- /dev/null
+++ b/examples/properties/propsgs-client.h
@@ -0,0 +1,22 @@
+#ifndef __DEMO_PROPS_SERVER_H
+#define __DEMO_PROPS_SERVER_H
+
+#include <dbus-c++/dbus.h>
+#include "propsgs-glue-proxy.h"
+
+class PropsClient
+: public org::freedesktop::DBus::PropsGSDemo_proxy,
+ public DBus::IntrospectableProxy,
+ public DBus::PropertiesProxy,
+ public DBus::ObjectProxy
+{
+public:
+
+ PropsClient(DBus::Connection &connection, const char *path, const char *name);
+
+ void MessageChanged(const std::string& message);
+
+ void DataChanged(const double& data);
+};
+
+#endif//__DEMO_PROPS_SERVER_H