summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2006-11-27 13:26:25 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2006-11-27 13:26:25 +0000
commit842d31218419f535f11a1f4e149662efd5adb82e (patch)
tree07fe14eef7ff290a68ab4826af93998e7284330b
parent954a25724ff381df97c0cc15bda110b9da4273ea (diff)
Add simple introspection support
-rw-r--r--audio/headset.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/audio/headset.c b/audio/headset.c
index 742bf558..8910c864 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -950,6 +950,10 @@ static DBusHandlerResult hs_message(DBusConnection *conn,
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;
}
+ if (!strcmp(DBUS_INTERFACE_INTROSPECTABLE, interface) &&
+ !strcmp("Introspect", member))
+ return simple_introspect(conn, msg, data);
+
if (strcmp(interface, "org.bluez.Headset") != 0)
return DBUS_HANDLER_RESULT_NOT_YET_HANDLED;