summaryrefslogtreecommitdiffstats
path: root/audio/device.h
diff options
context:
space:
mode:
authorJohan Hedberg <johan.hedberg@nokia.com>2007-08-12 23:58:15 +0000
committerJohan Hedberg <johan.hedberg@nokia.com>2007-08-12 23:58:15 +0000
commitd013a1eaa7beebbb49c1fe0015c70ad81566d97c (patch)
treed4f99165dd4ee46c5bb3b73fc31a490a88744299 /audio/device.h
parentf9d8837abad3b67b70425157ac854deb892b2b91 (diff)
Clean up mess with header files
Diffstat (limited to 'audio/device.h')
-rw-r--r--audio/device.h13
1 files changed, 10 insertions, 3 deletions
diff --git a/audio/device.h b/audio/device.h
index d7608741..5782dd99 100644
--- a/audio/device.h
+++ b/audio/device.h
@@ -20,12 +20,14 @@
* Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
*
*/
+#ifndef __AUDIO_DEVICE_H__
+#define __AUDIO_DEVICE_H__
#include <bluetooth/bluetooth.h>
+#include <dbus/dbus.h>
+#include <glib.h>
-#include "headset.h"
-#include "gateway.h"
-#include "sink.h"
+#include "ipc.h"
#define AUDIO_DEVICE_INTERFACE "org.bluez.audio.Device"
@@ -53,6 +55,9 @@
struct source;
struct control;
struct target;
+struct sink;
+struct headset;
+struct gateway;
struct device {
DBusConnection *conn;
@@ -82,3 +87,5 @@ int device_get_config(struct device *dev, int sock, struct ipc_packet *req,
void device_set_state(struct device *dev, uint8_t state);
uint8_t device_get_state(struct device *dev);
+
+#endif