summaryrefslogtreecommitdiff
path: root/examples/properties/propsgs-server.h
blob: a3169d629f9c857bd4a307c3a54e34b3886a8ae6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#ifndef __DEMO_PROPS_SERVER_H
#define __DEMO_PROPS_SERVER_H

#include <dbus-c++/dbus.h>
#include "propsgs-glue-adaptor.h"

class PropsServer
: public org::freedesktop::DBus::PropsGSDemo_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