
* Added an example to demonstrate implementation of D-Bus properties * Fixed DBus::Server (should work with the tcp transport too, see related TODO item) git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@8158 30a43799-04e7-0310-8b2b-ea0d24f86d0e
21 lines
489 B
C++
21 lines
489 B
C++
#ifndef __DEMO_PROPS_SERVER_H
|
|
#define __DEMO_PROPS_SERVER_H
|
|
|
|
#include <dbus-c++/dbus.h>
|
|
#include "props-glue.h"
|
|
|
|
class PropsServer
|
|
: public org::freedesktop::DBus::PropsDemo,
|
|
public DBus::IntrospectableAdaptor,
|
|
public DBus::PropertiesAdaptor,
|
|
public DBus::ObjectAdaptor
|
|
{
|
|
public:
|
|
|
|
PropsServer( DBus::Connection& connection );
|
|
|
|
void on_set_property
|
|
( DBus::InterfaceAdaptor& interface, const DBus::String& property, const DBus::Variant& value );
|
|
};
|
|
|
|
#endif//__DEMO_PROPS_SERVER_H
|