SET(PKG_MODULES
dlog
- dbus-glib-1
gobject-2.0
gmodule-2.0
vconf
glib-2.0
gio-2.0
gio-unix-2.0
- dbus-1
)
INCLUDE(FindPkgConfig)
EXEC_PROGRAM("${MARSHALTOOL}" ARGS "--prefix=marshal ${CMAKE_CURRENT_SOURCE_DIR}/marshal.list --header > ${CMAKE_CURRENT_SOURCE_DIR}/include/marshal.h")
EXEC_PROGRAM("${MARSHALTOOL}" ARGS "--prefix=marshal ${CMAKE_CURRENT_SOURCE_DIR}/marshal.list --body > ${CMAKE_CURRENT_SOURCE_DIR}/marshal.c")
-FIND_PROGRAM(DBUS_BINDING_TOOL NAMES dbus-binding-tool)
-EXEC_PROGRAM("${DBUS_BINDING_TOOL}" ARGS "--prefix=bt ${CMAKE_CURRENT_SOURCE_DIR}/bt-request-service.xml --mode=glib-client --output=${CMAKE_CURRENT_SOURCE_DIR}/include/bt-request-service.h")
-EXEC_PROGRAM("${DBUS_BINDING_TOOL}" ARGS "--prefix=bluetooth_gatt ${CMAKE_CURRENT_SOURCE_DIR}/bt-gatt.xml --mode=glib-server --output=${CMAKE_CURRENT_SOURCE_DIR}/include/bt-gatt-glue.h")
-
ADD_LIBRARY(bluetooth-api SHARED ${SRCS})
SET_TARGET_PROPERTIES(bluetooth-api PROPERTIES SOVERSION ${VERSION_MAJOR})
SET_TARGET_PROPERTIES(bluetooth-api PROPERTIES VERSION ${VERSION})
Name: bluetooth-api
Description: SAMSUNG Linux platform Bluetooth framework API
Version: @VERSION@
-Requires: dlog dbus-glib-1 vconf
+Requires: dlog gio-2.0 vconf
Libs: -L${libdir} -lbluetooth-api
Cflags: -I${includedir} -I${includedir}/bt-service
GDBusConnection *_bt_gdbus_init_system_gconn(void)
{
- dbus_threads_init_default();
-
if (system_gconn != NULL)
return system_gconn;
*/
#include <string.h>
-#include <dbus/dbus.h>
#include <glib.h>
#include <dlog.h>
#include <vconf.h>
return;
}
owner_sig_id = g_dbus_connection_signal_subscribe(connection_type,
- NULL, DBUS_INTERFACE_DBUS,
+ NULL, BT_EVENT_FREEDESKTOP,
BT_NAME_OWNER_CHANGED, NULL, NULL, 0,
__bt_name_owner_changed, NULL, NULL);
}
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<node name="/">
- <interface name="org.bluez.Watcher">
-
- <method name="ValueChanged">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="objpath"/>
- <arg type="ay" name="value"/>
- </method>
-
- </interface>
-</node>
-
#include "bt-event-handler.h"
#include "bluetooth-media-control.h"
-/* auto generated header by bt-request-service.xml*/
-#include "bt-request-service.h"
-
static GSList *sending_requests;
static GDBusProxy *service_gproxy;
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<node name="/org/projectx/bt_service">
- <interface name="org.projectx.bt">
- <method name="service_request">
- <annotation name="org.freedesktop.DBus.GLib.Async" value="bt_service_request"/>
- <!-- INPUT PARAMS FOR SERVICE FUNCTION -->
- <arg type="i" name="service_type" direction="in" />
- <arg type="i" name="service_function" direction="in" />
- <arg type="i" name="request_type" direction="in" />
- <arg type="ay" name="input_param1" direction="in" />
- <arg type="ay" name="input_param2" direction="in" />
- <arg type="ay" name="input_param3" direction="in" />
- <arg type="ay" name="input_param4" direction="in" />
- <arg type="ay" name="input_param5" direction="in" />
- <!-- OUTPUT PARAMS FOR SERVICE FUNCTION -->
- <arg type="ay" name="output_param1" direction="out" />
- <arg type="ay" name="output_param2" direction="out" />
- </method>
- </interface>
-</node>
-
*/
#include <glib.h>
-#include <dbus/dbus.h>
#include "bt-common.h"
#include "bt-internal-types.h"
Name: bt-service
Description: TIZEN Linux platform Bluetooth Service API
Version: @VERSION@
-Requires: dlog dbus-glib-1 vconf
+Requires: dlog gio-2.0 vconf
Libs: -L${libdir} -lbt-service-api
Cflags: -I${includedir} -I${includedir}/bt-service
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
-#include <dbus/dbus.h>
#include <unistd.h>
#include <vconf.h>
#include <vconf-keys.h>
telephony_dbus_info.dbus_proxy = g_dbus_proxy_new_sync(
telephony_dbus_info.conn,
G_DBUS_PROXY_FLAGS_NONE, NULL,
- DBUS_SERVICE_DBUS, DBUS_PATH_DBUS,
- DBUS_INTERFACE_DBUS, NULL, &error);
+ BT_EVENT_FREEDESKTOP, BT_FREEDESKTOP_PATH,
+ BT_EVENT_FREEDESKTOP, NULL, &error);
if (NULL == telephony_dbus_info.dbus_proxy) {
__bluetooth_telephony_proxy_deinit();
telephony_dbus_info.conn = NULL;
#include <sys/types.h>
#include <libintl.h>
-#include <dbus/dbus-glib.h>
-#include <dbus/dbus.h>
#include <dlog.h>
#include <glib.h>
#include <gio/gio.h>
GDBusConnection *g_bus_get_private_conn(void);
-DBusGConnection *_bt_get_system_gconn(void);
+//GDBusConnection *_bt_get_system_gconn(void);
-DBusConnection *_bt_get_system_conn(void);
+//GDBusConnection *_bt_get_system_conn(void);
int _bt_register_osp_server_in_agent(int type, char *uuid, char *path, int fd);
int _bt_unregister_osp_server_in_agent(int type, char *uuid);
#define _BT_EVENT_HANDLER_H_
#include <sys/types.h>
-#include <dbus/dbus.h>
#ifdef __cplusplus
extern "C" {
typedef struct {
int service_function;
- GDBusProxy *proxy;
void *cb;
void *user_data;
} bt_req_info_t;
-void _bt_gdbus_deinit_proxys(void);
-
int _bt_sync_send_request(int service_type, int service_function,
GArray *in_param1, GArray *in_param2,
GArray *in_param3, GArray *in_param4,
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/include)
INCLUDE(FindPkgConfig)
-pkg_check_modules(pkgs REQUIRED dbus-1 dbus-glib-1 dlog vconf gio-2.0 gio-unix-2.0 eventsystem)
+pkg_check_modules(pkgs REQUIRED dlog vconf gio-2.0 gio-unix-2.0 eventsystem)
FOREACH(flag ${pkgs_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<node name="/">
- <interface name="org.projectx.btcore">
- <method name="EnableAdapter">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- </method>
- <method name="DisableAdapter">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- </method>
- <method name="RecoverAdapter">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- </method>
- <method name="ResetAdapter">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- </method>
- <method name="EnableAdapterLe">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- </method>
- <method name="DisableAdapterLe">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- </method>
- <method name="EnableCore">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- </method>
- </interface>
-</node>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<node name="/org/projectx/bt_service">
- <interface name="org.projectx.bt">
- <method name="service_request">
- <annotation name="org.freedesktop.DBus.GLib.Async" value="bt_service_request"/>
- <!-- INPUT PARAMS FOR SERVICE FUNCTION -->
- <arg type="i" name="service_type" direction="in" />
- <arg type="i" name="service_function" direction="in" />
- <arg type="i" name="request_type" direction="in" />
- <arg type="ay" name="input_param1" direction="in" />
- <arg type="ay" name="input_param2" direction="in" />
- <arg type="ay" name="input_param3" direction="in" />
- <arg type="ay" name="input_param4" direction="in" />
- <arg type="ay" name="input_param5" direction="in" />
- <!-- OUTPUT PARAMS FOR SERVICE FUNCTION -->
- <arg type="ay" name="output_param1" direction="out" />
- <arg type="ay" name="output_param2" direction="out" />
- </method>
- </interface>
-</node>
-
#include <sys/types.h>
#include <sys/wait.h>
#include <dlog.h>
-#include <dbus/dbus.h>
-#include <dbus/dbus-glib.h>
-#include <dbus/dbus-glib-lowlevel.h>
#include <glib.h>
#include <gio/gio.h>
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
SET(PKG_MODULES
- dbus-glib-1
gio-2.0
pkgmgr
eventsystem
libsoup-2.4
- dbus-1
)
INCLUDE(FindPkgConfig)
SET(CMAKE_C_FLAGS_RELEASE "-O2")
SET(APP_SYSCONFDIR /opt/var/lib/bluetooth)
-FIND_PROGRAM(DBUS_BINDING_TOOL NAMES dbus-binding-tool)
-
SET(CMAKE_EXE_LINKER_FLAGS "-Wl,--as-needed -pie")
ADD_DEFINITIONS("-DTIZEN_FEATURE_BT_HPS")
SET(PKG_MODULES
vconf
aul
- dbus-glib-1
- dbus-1
gio-2.0
alarm-service
cynara-client
#include <fcntl.h>
#include <errno.h>
#include <termios.h>
-#include <dbus/dbus.h>
#include <bundle.h>
#include <glib.h>
#include <dlog.h>
{
GError *error = NULL;
- dbus_threads_init_default();
-
if (system_gconn != NULL)
return system_gconn;
aul
vconf
syspopup-caller
- dbus-glib-1
- dbus-1
gio-2.0
alarm-service
capi-content-mime-type
EXEC_PROGRAM("${MARSHALTOOL}" ARGS "--prefix=marshal ${CMAKE_CURRENT_SOURCE_DIR}/marshal.list --header > ${CMAKE_CURRENT_SOURCE_DIR}/include/marshal.h")
EXEC_PROGRAM("${MARSHALTOOL}" ARGS "--prefix=marshal ${CMAKE_CURRENT_SOURCE_DIR}/marshal.list --body > ${CMAKE_CURRENT_SOURCE_DIR}/marshal.c")
-FIND_PROGRAM(DBUS_BINDING_TOOL NAMES dbus-binding-tool)
-#EXEC_PROGRAM("${DBUS_BINDING_TOOL}" ARGS "--prefix=bt ${CMAKE_CURRENT_SOURCE_DIR}/bt-request-service.xml --mode=glib-server --output=${CMAKE_CURRENT_SOURCE_DIR}/include/bt-service-method.h")
-#EXEC_PROGRAM("${DBUS_BINDING_TOOL}" ARGS "--prefix=bt_obex_agent ${CMAKE_CURRENT_SOURCE_DIR}/bt-service-obex-agent.xml --mode=glib-server --output=${CMAKE_CURRENT_SOURCE_DIR}/include/bt-obex-agent-method.h")
-
-#EXEC_PROGRAM("${DBUS_BINDING_TOOL}" ARGS "--prefix=gap_agent ${CMAKE_CURRENT_SOURCE_DIR}/bt-service-gap-agent1.xml --mode=glib-server --output=${CMAKE_CURRENT_SOURCE_DIR}/include/bt-gap-agent-method.h")
-
-#EXEC_PROGRAM("${DBUS_BINDING_TOOL}" ARGS "--prefix=bt_media_agent ${CMAKE_CURRENT_SOURCE_DIR}/bt-service-media-agent.xml --mode=glib-server --output=${CMAKE_CURRENT_SOURCE_DIR}/include/bt-media-agent-method.h")
-
ADD_DEFINITIONS("-DPREFIX=\"${CMAKE_INSTALL_PREFIX}\"")
ADD_DEFINITIONS("-DVENDOR=\"${APP_VENDOR}\"")
ADD_DEFINITIONS("-DAPPNAME=\"${APP_NAME}\"")
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-<node name="/org/projectx/bt_service">
- <interface name="org.projectx.bt">
- <method name="service_request">
- <annotation name="org.freedesktop.DBus.GLib.Async" value="bt_service_request"/>
- <!-- INPUT PARAMS FOR SERVICE FUNCTION -->
- <arg type="i" name="service_type" direction="in" />
- <arg type="i" name="service_function" direction="in" />
- <arg type="i" name="request_type" direction="in" />
- <arg type="ay" name="input_param1" direction="in" />
- <arg type="ay" name="input_param2" direction="in" />
- <arg type="ay" name="input_param3" direction="in" />
- <arg type="ay" name="input_param4" direction="in" />
- <arg type="ay" name="input_param5" direction="in" />
- <!-- OUTPUT PARAMS FOR SERVICE FUNCTION -->
- <arg type="ay" name="output_param1" direction="out" />
- <arg type="ay" name="output_param2" direction="out" />
- </method>
- </interface>
-</node>
-
*/
#include <stdio.h>
-#include <dbus/dbus.h>
#include <gio/gio.h>
#include <glib.h>
#include <dlog.h>
#include <vconf.h>
#include <syspopup_caller.h>
#include <aul.h>
-#include <dbus/dbus-glib.h>
-#include <dbus/dbus.h>
#include <bundle.h>
#include <eventsystem.h>
#include <bundle_internal.h>
#include <dlog.h>
#include <string.h>
#include <syspopup_caller.h>
-#include <dbus/dbus.h>
#include "bluetooth-api.h"
#include "bt-internal-types.h"
g_variant_builder_add(builder, "{sv}", name, variant);
g_dbus_connection_emit_signal(connection, NULL, path,
- DBUS_INTERFACE_PROPERTIES,
+ BT_PROPERTIES_INTERFACE,
"PropertiesChanged",
g_variant_new("(sa{sv})",
interface, builder),
"Metadata", g_variant_new("a{sv}", inner_builder));
ret = g_dbus_connection_emit_signal(g_conn, NULL, BT_MEDIA_OBJECT_PATH,
- DBUS_INTERFACE_PROPERTIES,
+ BT_PROPERTIES_INTERFACE,
"PropertiesChanged",
g_variant_new("(sa{sv})",
interface, builder),
#include <errno.h>
#include <termios.h>
#include <net_connection.h>
-#include <dbus/dbus.h>
#include <glib.h>
#include <dlog.h>
#include <fcntl.h>
{
GError *error = NULL;
- dbus_threads_init_default();
-
if (system_conn != NULL)
return system_conn;
{
GError *error = NULL;
- dbus_threads_init_default();
-
if (session_conn != NULL)
return session_conn;
GDBusConnection *g_conn;
GDBusProxy *proxy;
- dbus_threads_init_default();
-
g_conn = _bt_gdbus_get_system_gconn();
retv_if(g_conn == NULL, NULL);
GDBusProxy *proxy;
char *adapter_path = NULL;
- dbus_threads_init_default();
-
g_conn = _bt_gdbus_get_system_gconn();
retv_if(g_conn == NULL, NULL);
GDBusProxy *proxy;
char *adapter_path = NULL;
- dbus_threads_init_default();
-
g_conn = _bt_gdbus_get_system_gconn();
retv_if(g_conn == NULL, NULL);
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<node name="/">
- <interface name="org.bluez.Agent1">
- <method name="RequestPinCode">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="device"/>
- <arg type="s" name="pincode" direction="out"/>
- </method>
-
- <method name="RequestPasskey">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="device"/>
- <arg type="u" name="passkey" direction="out"/>
- </method>
-
- <method name="DisplayPasskey">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="device"/>
- <arg type="u" name="passkey"/>
- <arg type="q" name="entered"/>
- </method>
-
- <method name="RequestConfirmation">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="device"/>
- <arg type="u" name="passkey"/>
- </method>
-
- <method name="RequestAuthorization">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="device"/>
- </method>
-
- <method name="AuthorizeService">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="device"/>
- <arg type="s" name="uuid"/>
- </method>
-
- <method name="Cancel">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- </method>
-
- <method name="Release">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- </method>
-
- <method name="ReplyPinCode">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="u" name="accept"/>
- <arg type="s" name="pincode"/>
- </method>
-
- <method name="ReplyPasskey">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="u" name="accept"/>
- <arg type="s" name="passkey"/>
- </method>
-
- <method name="ReplyConfirmation">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="u" name="accept"/>
- </method>
-
- <method name="ReplyAuthorize">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="u" name="accept"/>
- </method>
-
- <method name="ConfirmModeChange">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="s" name="mode"/>
- </method>
-
- <method name="GetDiscoverableTimeout">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="u" name="timeout" direction="out"/>
- </method>
- </interface>
-</node>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<node name="/">
- <interface name="org.bluez.MediaPlayer">
- <method name="SetProperty">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="s" name="property"/>
- <arg type="v" name="value"/>
- </method>
- </interface>
- <interface name="org.freedesktop.DBus.Properties">
- <method name="Set">
- <arg type="s" name="property"/>
- <arg type="v" name="value"/>
- </method>
- </interface>
-</node>
+++ /dev/null
-<?xml version="1.0" encoding="UTF-8" ?>
-
-<node name="/">
- <interface name="org.openobex.Agent">
- <method name="Request">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="transfer"/>
- <arg type="s" name="name" direction="out"/>
- </method>
-
- <method name="Progress">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="transfer"/>
- <arg type="t" name="transferred"/>
- </method>
-
- <method name="Complete">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="transfer"/>
- </method>
-
- <method name="Release">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- </method>
-
- <method name="Error">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="transfer"/>
- <arg type="s" name="message"/>
- </method>
- <method name="Authorize">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="objpath"/>
- <arg type="s" name="bdaddress"/>
- <arg type="s" name="name"/>
- <arg type="s" name="type"/>
- <arg type="i" name="length"/>
- <arg type="i" name="time"/>
- <arg type="s" name="filepath" direction="out"/>
- </method>
- </interface>
- <interface name="org.bluez.obex.Agent1">
- <method name="AuthorizePush">
- <annotation name="org.freedesktop.DBus.GLib.Async" value=""/>
- <arg type="o" name="objpath"/>
- <arg type="s" name="filepath" direction="out"/>
- </method>
- </interface>
-</node>
*
*/
-#include <dbus/dbus.h>
#include <glib.h>
#include <dlog.h>
#include <string.h>
*
*/
-#include <dbus/dbus.h>
#include <glib.h>
#include <dlog.h>
#include <string.h>
Source0: %{name}-%{version}.tar.gz
Source1001: bluetooth-frwk.manifest
-Requires: dbus
Requires: syspopup
%if "%{?profile}" != "mobile"
Requires: bluetooth-tools
%endif
BuildRequires: pkgconfig(aul)
-BuildRequires: pkgconfig(dbus-glib-1)
BuildRequires: pkgconfig(dlog)
BuildRequires: pkgconfig(glib-2.0)
BuildRequires: pkgconfig(gio-2.0)
BuildRequires: pkgconfig(syspopup-caller)
BuildRequires: pkgconfig(vconf)
BuildRequires: pkgconfig(libxml-2.0)
-BuildRequires: pkgconfig(dbus-1)
BuildRequires: pkgconfig(capi-network-connection)
BuildRequires: pkgconfig(alarm-service)
BuildRequires: pkgconfig(capi-content-mime-type)
INCLUDE_DIRECTORIES(${CMAKE_SOURCE_DIR}/include)
INCLUDE(FindPkgConfig)
-pkg_check_modules(package REQUIRED dlog dbus-1 glib-2.0 gthread-2.0 gobject-2.0)
+pkg_check_modules(package REQUIRED dlog gio-2.0 glib-2.0 gthread-2.0 gobject-2.0)
FOREACH(flag ${package_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
#include <stdio.h>
#include <string.h>
#include <glib.h>
-#include <dbus/dbus-glib.h>
+#include <gio/gio.h>
#include <pthread.h>
-#include <dbus/dbus.h>
#include <stdint.h>
#include "bluetooth-api.h"
{
TC_PRT("bluetooth framework TC startup");
- dbus_threads_init_default();
-
main_loop = g_main_loop_new(NULL, FALSE);
}
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../lib)
INCLUDE(FindPkgConfig)
-pkg_check_modules(package REQUIRED dlog dbus-1 glib-2.0 gthread-2.0 gobject-2.0)
+pkg_check_modules(package REQUIRED dlog gio-2.0 glib-2.0 gthread-2.0 gobject-2.0)
FOREACH(flag ${package_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
#include <stdint.h>
#include <string.h>
#include <glib.h>
-#include <dbus/dbus-glib.h>
-#include <dbus/dbus.h>
+#include <gio/gio.h>
+
#include "bluetooth-api.h"
{
TC_PRT("bluetooth framework TC startup");
- dbus_threads_init_default();
-
main_loop = g_main_loop_new(NULL, FALSE);
}
INCLUDE_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/../../lib)
INCLUDE(FindPkgConfig)
-pkg_check_modules(package REQUIRED dlog dbus-1 glib-2.0 gthread-2.0 gobject-2.0)
+pkg_check_modules(package REQUIRED dlog gio-2.0 glib-2.0 gthread-2.0 gobject-2.0)
FOREACH(flag ${package_CFLAGS})
SET(EXTRA_CFLAGS "${EXTRA_CFLAGS} ${flag}")
#include <stdint.h>
#include <string.h>
#include <glib.h>
-#include <dbus/dbus-glib.h>
-#include <dbus/dbus.h>
+#include <gio/gio.h>
#include "bluetooth-api.h"
{
TC_PRT("bluetooth framework TC startup");
- dbus_threads_init_default();
-
main_loop = g_main_loop_new(NULL, FALSE);
}