21 lines
492 B
C++
21 lines
492 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_adaptor,
|
|
public DBus::IntrospectableAdaptor,
|
|
public DBus::PropertiesAdaptor,
|
|
public DBus::ObjectAdaptor
|
|
{
|
|
public:
|
|
|
|
PropsServer(DBus::Connection &connection);
|
|
|
|
void on_set_property
|
|
(DBus::InterfaceAdaptor &interface, const std::string &property, const DBus::Variant &value);
|
|
};
|
|
|
|
#endif//__DEMO_PROPS_SERVER_H
|