summaryrefslogtreecommitdiffstats
path: root/audio/manager.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-04-10 11:44:10 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-04-10 11:44:10 +0000
commit35f12dee95378056a2ed7c0d325b2c3b68022da8 (patch)
tree240c99b1f3d926fd19b00ff91513d264bf678e9f /audio/manager.h
parent5daebe3831a85cc39a74c25798fb5123f2bdc633 (diff)
Audio service refactoring: move all manager functions to manager.c
Diffstat (limited to 'audio/manager.h')
-rw-r--r--audio/manager.h25
1 files changed, 25 insertions, 0 deletions
diff --git a/audio/manager.h b/audio/manager.h
index f97b563a..8335c79a 100644
--- a/audio/manager.h
+++ b/audio/manager.h
@@ -20,6 +20,31 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
+#ifndef __AUDIO_MANAGER_H
+#define __AUDIO_MANAGER_H
+
+#include <bluetooth/bluetooth.h>
+
+#include <dbus/dbus.h>
+
+struct manager;
+
+#include "headset.h"
+
+#define AUDIO_MANAGER_PATH "/org/bluez/audio"
+
+#define AUDIO_HEADSET_PATH_BASE "/org/bluez/audio/headset"
+
+void manager_add_headset(struct manager *manager, struct headset *hs);
+
+struct headset *manager_find_headset_by_bda(struct manager *manager,
+ bdaddr_t *bda);
+
+DBusConnection *manager_get_dbus_conn(struct manager *manager);
int audio_init(DBusConnection *conn);
+
void audio_exit(void);
+
+#endif /* __AUDIO_MANAGER_H_ */
+