* Added a wrapper for dbus_threads_init_default
* Added a wrapper for dbus_connection_set_exit_on_disconnect * Added a multithreaded test case for the echo example git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@11874 30a43799-04e7-0310-8b2b-ea0d24f86d0e
This commit is contained in:
parent
b116f68663
commit
568ec7fc45
10 changed files with 137 additions and 5 deletions
19
examples/echo/echo-client.h
Normal file
19
examples/echo/echo-client.h
Normal file
|
@ -0,0 +1,19 @@
|
|||
#ifndef __DEMO_ECHO_CLIENT_H
|
||||
#define __DEMO_ECHO_CLIENT_H
|
||||
|
||||
#include <dbus-c++/dbus.h>
|
||||
#include "echo-client-glue.h"
|
||||
|
||||
class EchoClient
|
||||
: public org::freedesktop::DBus::EchoDemo,
|
||||
public DBus::IntrospectableProxy,
|
||||
public DBus::ObjectProxy
|
||||
{
|
||||
public:
|
||||
|
||||
EchoClient( DBus::Connection& connection, const char* path, const char* name );
|
||||
|
||||
void Echoed( const DBus::Variant& value );
|
||||
};
|
||||
|
||||
#endif//__DEMO_ECHO_CLIENT_H
|
Loading…
Add table
Add a link
Reference in a new issue