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-adaptor.h" |
| 6 | |
| 7 | class PropsServer |
| 8 | : public org::freedesktop::DBus::PropsGSDemo_adaptor, |
| 9 | public DBus::IntrospectableAdaptor, |
| 10 | public DBus::PropertiesAdaptor, |
| 11 | public DBus::ObjectAdaptor |
| 12 | { |
| 13 | public: |
| 14 | |
| 15 | PropsServer(DBus::Connection &connection); |
| 16 | |
| 17 | void on_set_property |
| 18 | (DBus::InterfaceAdaptor &interface, const std::string &property, const DBus::Variant &value); |
| 19 | }; |
| 20 | |
| 21 | #endif//__DEMO_PROPS_SERVER_H |