diff options
author | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2011-05-22 19:36:10 (GMT) |
---|---|---|
committer | Frederik Gladhorn <frederik.gladhorn@nokia.com> | 2011-07-04 11:44:14 (GMT) |
commit | b07919b3de8cff3e44b7271062372b14bcda5b83 (patch) | |
tree | fb6e9c5ebbade0756b85819b59eb3efcf0ee242d /src/dbus/dbus.pro | |
parent | cee1f6454a7b52a52795590e2f793c0cd4e15ce1 (diff) | |
download | Qt-b07919b3de8cff3e44b7271062372b14bcda5b83.zip Qt-b07919b3de8cff3e44b7271062372b14bcda5b83.tar.gz Qt-b07919b3de8cff3e44b7271062372b14bcda5b83.tar.bz2 |
Add DBus VirtualObject to handle multiple paths.
When a virtual object is registered with the SubPath option
it will handle all dbus calls to itself and all child paths.
It needs to reimplement handleMessage for that purpose.
Introspection needs to be implemented manually in the introspect function.
Reviewed-by: Thiago Macieira <thiago.macieira@nokia.com>
Diffstat (limited to 'src/dbus/dbus.pro')
-rw-r--r-- | src/dbus/dbus.pro | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/src/dbus/dbus.pro b/src/dbus/dbus.pro index 08c9ea1..d21b380 100644 --- a/src/dbus/dbus.pro +++ b/src/dbus/dbus.pro @@ -44,7 +44,8 @@ PUB_HEADERS = qdbusargument.h \ qdbusmetatype.h \ qdbuspendingcall.h \ qdbuspendingreply.h \ - qdbuscontext.h + qdbuscontext.h \ + qdbusvirtualobject.h HEADERS += $$PUB_HEADERS \ qdbusconnection_p.h \ qdbusmessage_p.h \ @@ -60,7 +61,8 @@ HEADERS += $$PUB_HEADERS \ qdbuspendingcall_p.h \ qdbus_symbols_p.h \ qdbusservicewatcher.h \ - qdbusunixfiledescriptor.h + qdbusunixfiledescriptor.h \ + qdbusvirtualobject.h SOURCES += qdbusconnection.cpp \ qdbusconnectioninterface.cpp \ qdbuserror.cpp \ @@ -87,4 +89,5 @@ SOURCES += qdbusconnection.cpp \ qdbuspendingreply.cpp \ qdbus_symbols.cpp \ qdbusservicewatcher.cpp \ - qdbusunixfiledescriptor.cpp + qdbusunixfiledescriptor.cpp \ + qdbusvirtualobject.cpp |