From d013a1eaa7beebbb49c1fe0015c70ad81566d97c Mon Sep 17 00:00:00 2001 From: Johan Hedberg Date: Sun, 12 Aug 2007 23:58:15 +0000 Subject: Clean up mess with header files --- audio/device.h | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) (limited to 'audio/device.h') 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 +#include +#include -#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 -- cgit