diff options
author | Claudio Takahasi <claudio.takahasi@openbossa.org> | 2013-01-16 10:31:28 -0300 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2013-01-16 13:41:08 -0600 |
commit | 0973479c294386dc33b981b194f7883237196bd0 (patch) | |
tree | 08a44001282968a85a691ec0c1819eec63f5b9d3 | |
parent | caad5322f6117ab53bacc5d1999b055f7839beab (diff) | |
download | ofono-0973479c294386dc33b981b194f7883237196bd0.tar.bz2 |
bluetooth: Initial files for BlueZ 5
This patch adds the file for Bluetooth(BlueZ 5) oFono plugin.
-rw-r--r-- | Makefile.am | 3 | ||||
-rw-r--r-- | plugins/bluez5.c | 33 |
2 files changed, 36 insertions, 0 deletions
diff --git a/Makefile.am b/Makefile.am index 63e6fdb6..3c4b588b 100644 --- a/Makefile.am +++ b/Makefile.am @@ -433,6 +433,9 @@ builtin_sources += plugins/connman.c builtin_sources += $(btio_sources) builtin_cflags += @BLUEZ_CFLAGS@ builtin_libadd += @BLUEZ_LIBS@ +else +builtin_modules += bluez5 +builtin_sources += plugins/bluez5.c endif endif endif diff --git a/plugins/bluez5.c b/plugins/bluez5.c new file mode 100644 index 00000000..335331c9 --- /dev/null +++ b/plugins/bluez5.c @@ -0,0 +1,33 @@ +/* + * + * oFono - Open Source Telephony + * + * Copyright (C) 2013 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 version 2 as + * published by the Free Software Foundation. + * + * 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 <config.h> +#endif + +#include <glib.h> + +#define OFONO_API_SUBJECT_TO_CHANGE +#include <ofono/plugin.h> +#include <ofono/log.h> + +OFONO_PLUGIN_DEFINE(bluez5, "BlueZ 5 Utils Plugin", VERSION, + OFONO_PLUGIN_PRIORITY_DEFAULT, NULL, NULL) |