* Fixed a stupid error in util.h
* Added a --system command line option to dbusxx-introspect (to use the system bus) * Added a simple client-side example using HAL to demonstrate how to receive signals git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@8519 30a43799-04e7-0310-8b2b-ea0d24f86d0e
This commit is contained in:
parent
a9e3429b9e
commit
cb5ba80633
19 changed files with 885 additions and 374 deletions
|
@ -149,10 +149,12 @@ void Connection::Private::dispatch_status_stub( DBusConnection* dc, DBusDispatch
|
|||
}
|
||||
}
|
||||
|
||||
DBusHandlerResult Connection::Private::message_filter_stub( DBusConnection*, DBusMessage* dmsg, void* data )
|
||||
DBusHandlerResult Connection::Private::message_filter_stub( DBusConnection* conn, DBusMessage* dmsg, void* data )
|
||||
{
|
||||
MessageSlot* slot = static_cast<MessageSlot*>(data);
|
||||
|
||||
debug_log("incoming message on connection %p", conn);
|
||||
|
||||
Message msg = Message(new Message::Private(dmsg));
|
||||
|
||||
return slot && !slot->empty() && slot->call(msg)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue