moved the D-Bus component into its own thread.

various API changes and fixes.


git-svn-id: http://dev.openwengo.org/svn/openwengo/wengophone-ng/branches/wengophone-dbus-api/libs/dbus@7852 30a43799-04e7-0310-8b2b-ea0d24f86d0e
This commit is contained in:
pdurante 2006-10-01 13:37:47 +00:00
parent 42ea920aeb
commit 24637001ce
9 changed files with 77 additions and 38 deletions

View file

@ -21,7 +21,7 @@
*
*/
#include <dbus-c++/debug.h>
#include <dbus-c++/property.h>
#include <dbus-c++/introspection.h>
@ -46,6 +46,8 @@ Message PropertiesAdaptor::Get( const CallMessage& call )
ri >> iface_name >> property_name;
debug_log("requesting property %s on interface %s\n", property_name.c_str(), iface_name.c_str());
InterfaceAdaptor* interface = (InterfaceAdaptor*) find_interface(iface_name);
if(!interface)
@ -63,7 +65,6 @@ Message PropertiesAdaptor::Get( const CallMessage& call )
MessageIter wi = reply.writer();
wi << *value;
return reply;
}