diff options
author | Johan Hedberg <johan.hedberg@nokia.com> | 2007-05-18 19:19:35 +0000 |
---|---|---|
committer | Johan Hedberg <johan.hedberg@nokia.com> | 2007-05-18 19:19:35 +0000 |
commit | 3568bdd8c1a21ba36e9baf0b1485a1960d1c566b (patch) | |
tree | 44c7a2dfe8e48647be6ce6d1e2985a3cea26673a /audio | |
parent | b8695c1e9809e1da1a9ab4a6f155f76a2e2cda55 (diff) |
Send HeadsetCreated signal when calling CreateHeadset
Diffstat (limited to 'audio')
-rw-r--r-- | audio/manager.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/manager.c b/audio/manager.c index b746484e..00114f14 100644 --- a/audio/manager.c +++ b/audio/manager.c @@ -393,6 +393,11 @@ static DBusHandlerResult am_create_headset(DBusConnection *conn, DBusMessage *ms if (!reply) return DBUS_HANDLER_RESULT_NEED_MEMORY; + dbus_connection_emit_signal(connection, AUDIO_MANAGER_PATH, + AUDIO_MANAGER_INTERFACE, + "HeadsetCreated", + DBUS_TYPE_STRING, &path, + DBUS_TYPE_INVALID); dbus_message_append_args(reply, DBUS_TYPE_STRING, &path, DBUS_TYPE_INVALID); |