Redone properties example
This commit is contained in:
parent
fcf526f7f2
commit
96eb77ce7e
14 changed files with 102 additions and 206 deletions
22
examples/properties/propsgs-client.h
Normal file
22
examples/properties/propsgs-client.h
Normal file
|
@ -0,0 +1,22 @@
|
|||
#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);
|
||||
|
||||
void DataChanged(const double& data);
|
||||
};
|
||||
|
||||
#endif//__DEMO_PROPS_SERVER_H
|
Loading…
Add table
Add a link
Reference in a new issue