From 4302478ff6af0d5d99b8427d955264803d4ac59a Mon Sep 17 00:00:00 2001 From: Luiz Augusto von Dentz Date: Thu, 30 May 2013 15:21:42 +0300 Subject: [PATCH] build: Add bluetooth-player command line client bluetooth-player is intended to control players connected over bluetooth. --- Makefile.tools | 7 ++++++- tools/bluetooth-player.c | 31 +++++++++++++++++++++++++++++++ 2 files changed, 37 insertions(+), 1 deletion(-) create mode 100644 tools/bluetooth-player.c diff --git a/Makefile.tools b/Makefile.tools index acd403ea3..8f245e088 100644 --- a/Makefile.tools +++ b/Makefile.tools @@ -164,7 +164,8 @@ if EXPERIMENTAL noinst_PROGRAMS += tools/bdaddr tools/avinfo tools/avtest tools/scotest \ tools/hcieventmask tools/hcisecfilter tools/hwdb \ tools/btmgmt tools/btattach tools/btsnoop \ - tools/btiotest tools/mpris-player + tools/btiotest tools/mpris-player \ + tools/bluetooth-player tools_bdaddr_SOURCES = tools/bdaddr.c src/oui.h src/oui.c tools_bdaddr_LDADD = lib/libbluetooth-private.la @UDEV_LIBS@ @@ -190,6 +191,10 @@ tools_btiotest_LDADD = lib/libbluetooth-private.la @GLIB_LIBS@ tools_mpris_player_SOURCES = $(gdbus_sources) tools/mpris-player.c tools_mpris_player_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ +tools_bluetooth_player_SOURCES = $(gdbus_sources) tools/bluetooth-player.c \ + client/display.h client/display.c +tools_bluetooth_player_LDADD = @GLIB_LIBS@ @DBUS_LIBS@ -lreadline + EXTRA_DIST += tools/bdaddr.1 endif diff --git a/tools/bluetooth-player.c b/tools/bluetooth-player.c new file mode 100644 index 000000000..b38861ad6 --- /dev/null +++ b/tools/bluetooth-player.c @@ -0,0 +1,31 @@ +/* + * + * BlueZ - Bluetooth protocol stack for Linux + * + * Copyright (C) 2012 Intel Corporation. All rights reserved. + * + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + * + */ + +#ifdef HAVE_CONFIG_H +#include +#endif + +int main(int argc, char *argv[]) +{ + return 0; +} -- 2.47.3