From 15f77d131a763fc6044ca1fa1e6adb8e93b36d31 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 17 Aug 2011 11:15:20 +0200 Subject: [PATCH] api: add license and header include guards --- header-generator.xsl | 31 +++++++++++++++++++++++++++---- introspection/all.xml | 2 +- 2 files changed, 28 insertions(+), 5 deletions(-) diff --git a/header-generator.xsl b/header-generator.xsl index 67f915f2..fc33bc6c 100644 --- a/header-generator.xsl +++ b/header-generator.xsl @@ -177,12 +177,33 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA /* Generated Header file do not edit */ -/* */ - + /* - * version + * + * version + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Lesser General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library 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 + * Lesser General Public License for more details. + * + * You should have received a copy of the GNU Lesser General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, + * Boston, MA 02110-1301 USA. + * + * Copyright (C) 2008 - 2009 Novell, Inc. + * Copyright (C) 2009 - 2011 Red Hat, Inc. */ - + +#ifndef _MODEM_MANAGER_H_ +#define _MODEM_MANAGER_H_ + #define MM_MODEMMANAGER_PATH "/org/freedesktop/ModemManager" #define MM_MODEMMANAGER_SERVICE "org.freedesktop.ModemManager" @@ -232,6 +253,8 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA **********/ +#endif /* _MODEM_MANAGER_H_ */ + diff --git a/introspection/all.xml b/introspection/all.xml index ff174d81..0d91cbdf 100644 --- a/introspection/all.xml +++ b/introspection/all.xml @@ -2,7 +2,7 @@ xmlns:tp="http://telepathy.freedesktop.org/wiki/DbusSpec#extensions-v0" xmlns:xi="http://www.w3.org/2001/XInclude"> - ModemManager D-Bus Interface Specification + ModemManager Interface Specification 0.5 Copyright (C) 2008 Novell, Inc. Copyright (C) 2008 - 2010 Red Hat, Inc.