From 2dc831a35ca1972fd2cca0fa75204d6bfbff3b9c Mon Sep 17 00:00:00 2001 From: Denis Kenzior Date: Tue, 28 Jul 2009 15:50:26 -0500 Subject: [PATCH] Add new ofono/dbus.h header --- include/Makefile.am | 2 +- include/dbus.h | 35 +++++++++++++++++++++++++++++++++++ src/dbus-gsm.h | 2 +- 3 files changed, 37 insertions(+), 2 deletions(-) create mode 100644 include/dbus.h diff --git a/include/Makefile.am b/include/Makefile.am index 70e4f3e3..3ebad83f 100644 --- a/include/Makefile.am +++ b/include/Makefile.am @@ -1,7 +1,7 @@ includedir = @includedir@/ofono -include_HEADERS = log.h plugin.h history.h +include_HEADERS = log.h plugin.h history.h dbus.h nodist_include_HEADERS = version.h diff --git a/include/dbus.h b/include/dbus.h new file mode 100644 index 00000000..008ca127 --- /dev/null +++ b/include/dbus.h @@ -0,0 +1,35 @@ +/* + * + * oFono - Open Telephony stack for Linux + * + * Copyright (C) 2008-2009 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 + * + */ + +#ifndef __OFONO_DBUS_H +#define __OFONO_DBUS_H + +#ifdef __cplusplus +extern "C" { +#endif + +#include + +#ifdef __cplusplus +} +#endif + +#endif /* __OFONO_DBUS_H */ diff --git a/src/dbus-gsm.h b/src/dbus-gsm.h index 8396c4b4..fa942ef2 100644 --- a/src/dbus-gsm.h +++ b/src/dbus-gsm.h @@ -19,7 +19,7 @@ * */ -#include +#include #include DBusConnection *dbus_gsm_connection();