Emeric Vigier | 2f62582 | 2012-08-06 11:09:52 -0400 | [diff] [blame] | 1 | #ifndef __DEMO_PROPS_SERVER_H |
| 2 | #define __DEMO_PROPS_SERVER_H |
| 3 | |
| 4 | #include <dbus-c++/dbus.h> |
| 5 | #include "propsgs-glue-proxy.h" |
| 6 | |
| 7 | class PropsClient |
| 8 | : public org::freedesktop::DBus::PropsGSDemo_proxy, |
| 9 | public DBus::IntrospectableProxy, |
| 10 | public DBus::PropertiesProxy, |
| 11 | public DBus::ObjectProxy |
| 12 | { |
| 13 | public: |
| 14 | |
| 15 | PropsClient(DBus::Connection &connection, const char *path, const char *name); |
| 16 | |
| 17 | void MessageChanged(const std::string &message); |
| 18 | |
| 19 | void DataChanged(const double &data); |
| 20 | }; |
| 21 | |
| 22 | #endif//__DEMO_PROPS_SERVER_H |