Added properties proxy example (João Xavier)
This commit is contained in:
parent
52ce50e944
commit
acc230eb98
6 changed files with 199 additions and 0 deletions
20
examples/properties_get_set/propsgs-client.h
Normal file
20
examples/properties_get_set/propsgs-client.h
Normal file
|
@ -0,0 +1,20 @@
|
|||
#ifndef __DEMO_PROPS_SERVER_H
|
||||
#define __DEMO_PROPS_SERVER_H
|
||||
|
||||
#include <dbus-c++/dbus.h>
|
||||
#include "propsgs-glue-proxy.h"
|
||||
|
||||
class PropsClient
|
||||
: public org::freedesktop::DBus::PropsGSDemo_proxy,
|
||||
public DBus::IntrospectableProxy,
|
||||
// public DBus::PropertiesProxy,
|
||||
public DBus::ObjectProxy
|
||||
{
|
||||
public:
|
||||
|
||||
PropsClient(DBus::Connection &connection, const char *path, const char *name);
|
||||
|
||||
void MessageChanged(const std::string& message);
|
||||
};
|
||||
|
||||
#endif//__DEMO_PROPS_SERVER_H
|
Loading…
Add table
Add a link
Reference in a new issue