diff options
Diffstat (limited to 'examples/hal/hal-listen.h')
-rw-r--r-- | examples/hal/hal-listen.h | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/examples/hal/hal-listen.h b/examples/hal/hal-listen.h index 12862e6..85c8cca 100644 --- a/examples/hal/hal-listen.h +++ b/examples/hal/hal-listen.h @@ -8,37 +8,37 @@ class HalDeviceProxy; class HalManagerProxy -: public DBus::InterfaceProxy, + : public DBus::InterfaceProxy, public DBus::ObjectProxy { public: - HalManagerProxy(DBus::Connection &connection); + HalManagerProxy(DBus::Connection &connection); - std::vector< std::string > GetAllDevices(); + std::vector< std::string > GetAllDevices(); private: - void DeviceAddedCb(const DBus::SignalMessage &sig); + void DeviceAddedCb(const DBus::SignalMessage &sig); - void DeviceRemovedCb(const DBus::SignalMessage &sig); + void DeviceRemovedCb(const DBus::SignalMessage &sig); - std::map< std::string, DBus::RefPtr< HalDeviceProxy > > _devices; + std::map< std::string, DBus::RefPtr< HalDeviceProxy > > _devices; }; class HalDeviceProxy -: public DBus::InterfaceProxy, + : public DBus::InterfaceProxy, public DBus::ObjectProxy { public: - HalDeviceProxy(DBus::Connection &connection, DBus::Path &udi); + HalDeviceProxy(DBus::Connection &connection, DBus::Path &udi); private: - void PropertyModifiedCb(const DBus::SignalMessage &sig); + void PropertyModifiedCb(const DBus::SignalMessage &sig); - void ConditionCb(const DBus::SignalMessage &sig); + void ConditionCb(const DBus::SignalMessage &sig); }; #endif//__DEMO_HAL_LISTEN_H |