summaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2008-05-08 20:23:45 +0000
committerMarcel Holtmann <marcel@holtmann.org>2008-05-08 20:23:45 +0000
commite7d668ac9e813bc9922ee7d771848bd8822d5d1f (patch)
tree34e2fc7b1c064beaa52e5e05e9278be458be9fba /audio
parent44a204a75880c342c3ac9066072f102f773a539a (diff)
Move D-Bus watch functions into libgdbus
Diffstat (limited to 'audio')
-rw-r--r--audio/Makefile.am4
-rw-r--r--audio/avdtp.c6
-rw-r--r--audio/control.c7
-rw-r--r--audio/device.c7
-rw-r--r--audio/headset.c2
-rw-r--r--audio/main.c3
-rw-r--r--audio/sink.c5
7 files changed, 14 insertions, 20 deletions
diff --git a/audio/Makefile.am b/audio/Makefile.am
index 841617ea..21d48860 100644
--- a/audio/Makefile.am
+++ b/audio/Makefile.am
@@ -14,7 +14,7 @@ libaudio_la_SOURCES = main.c \
libaudio_la_LDFLAGS = -module -avoid-version -export-symbols-regex bluetooth_plugin_desc
LDADD = $(top_builddir)/common/libhelper.a \
- @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@
+ @GDBUS_LIBS@ @GLIB_LIBS@ @DBUS_LIBS@ @BLUEZ_LIBS@
if ALSA
alsadir = $(libdir)/alsa-lib
@@ -52,7 +52,7 @@ libgstbluetooth_la_CFLAGS = @GSTREAMER_CFLAGS@ @SBC_CFLAGS@
endif
endif
-AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@
+AM_CFLAGS = @BLUEZ_CFLAGS@ @DBUS_CFLAGS@ @GLIB_CFLAGS@ @GDBUS_CFLAGS@
INCLUDES = -I$(top_srcdir)/common -I$(top_srcdir)/hcid -I$(top_srcdir)/sdpd
diff --git a/audio/avdtp.c b/audio/avdtp.c
index 3c35bfc1..300898e2 100644
--- a/audio/avdtp.c
+++ b/audio/avdtp.c
@@ -34,12 +34,12 @@
#include <signal.h>
#include <netinet/in.h>
-#include <glib.h>
-
#include <bluetooth/bluetooth.h>
#include <bluetooth/sdp.h>
-#include "dbus.h"
+#include <glib.h>
+#include <dbus/dbus.h>
+
#include "dbus-service.h"
#include "logging.h"
diff --git a/audio/control.c b/audio/control.c
index a6976d05..cffcf517 100644
--- a/audio/control.c
+++ b/audio/control.c
@@ -37,15 +37,14 @@
#include <fcntl.h>
#include <netinet/in.h>
-#include <glib.h>
-#include <dbus/dbus.h>
-
#include <bluetooth/bluetooth.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
#include <bluetooth/l2cap.h>
-#include "dbus.h"
+#include <glib.h>
+#include <dbus/dbus.h>
+
#include "dbus-helper.h"
#include "dbus-service.h"
#include "logging.h"
diff --git a/audio/device.c b/audio/device.c
index 0debe220..c385c7ca 100644
--- a/audio/device.c
+++ b/audio/device.c
@@ -32,16 +32,15 @@
#include <sys/stat.h>
#include <netinet/in.h>
-#include <glib.h>
-#include <dbus/dbus.h>
-
#include <bluetooth/bluetooth.h>
#include <bluetooth/hci.h>
#include <bluetooth/hci_lib.h>
#include <bluetooth/sdp.h>
#include <bluetooth/sdp_lib.h>
-#include "dbus.h"
+#include <glib.h>
+#include <dbus/dbus.h>
+
#include "dbus-helper.h"
#include "logging.h"
#include "textfile.h"
diff --git a/audio/headset.c b/audio/headset.c
index 859a87ba..2d635110 100644
--- a/audio/headset.c
+++ b/audio/headset.c
@@ -47,10 +47,8 @@
#include <bluetooth/sdp_lib.h>
#include <glib.h>
-
#include <dbus/dbus.h>
-#include "dbus.h"
#include "dbus-helper.h"
#include "logging.h"
#include "device.h"
diff --git a/audio/main.c b/audio/main.c
index 5b4e395b..ef606223 100644
--- a/audio/main.c
+++ b/audio/main.c
@@ -31,8 +31,7 @@
#include <bluetooth/bluetooth.h>
#include <glib.h>
-
-#include "dbus.h"
+#include <dbus/dbus.h>
#include "plugin.h"
#include "dbus-service.h"
diff --git a/audio/sink.c b/audio/sink.c
index b44f8de6..b755759d 100644
--- a/audio/sink.c
+++ b/audio/sink.c
@@ -29,12 +29,11 @@
#include <stdint.h>
#include <errno.h>
+#include <bluetooth/bluetooth.h>
+
#include <glib.h>
#include <dbus/dbus.h>
-#include <bluetooth/bluetooth.h>
-
-#include "dbus.h"
#include "dbus-helper.h"
#include "logging.h"