From 49bbaf8e31009227b5c5ff1abf95fe6afb40d496 Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Tue, 22 Nov 2011 12:37:20 +0100 Subject: build: disable autogeneration of the 0.5 API header file But keep it around as a static file, while we do the migration to the new interface. --- build-aux/Makefile.am | 1 - build-aux/header-generator-new.xsl | 190 ------------------------------- build-aux/header-generator.xsl | 227 +++++++++---------------------------- 3 files changed, 56 insertions(+), 362 deletions(-) delete mode 100644 build-aux/header-generator-new.xsl (limited to 'build-aux') diff --git a/build-aux/Makefile.am b/build-aux/Makefile.am index 9fc2b976..1bf1c38d 100644 --- a/build-aux/Makefile.am +++ b/build-aux/Makefile.am @@ -1,7 +1,6 @@ EXTRA_DIST = \ header-generator.xsl \ - header-generator-new.xsl \ mm-enums-types.h.template \ mm-enums-types.c.template \ mm-enums-errors.h.template \ diff --git a/build-aux/header-generator-new.xsl b/build-aux/header-generator-new.xsl deleted file mode 100644 index 4cd0dea0..00000000 --- a/build-aux/header-generator-new.xsl +++ /dev/null @@ -1,190 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - MANAGER - - - -#define "" - - - - - - - - - - - - MANAGER - - - -#define "" - - - - - - - - - - - - MANAGER - - - -#define "" - - - - -/* Generated Header file do not edit */ - -/* - * ModemManager Interface Specification - * Version 0.6 - * - * 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. - * Copyright (C) 2011 Google, Inc. - */ - -#ifndef _MODEM_MANAGER_NAMES_H_ -#define _MODEM_MANAGER_NAMES_H_ - -#define MM_DBUS_PATH "/org/freedesktop/ModemManager1" -#define MM_DBUS_SERVICE "org.freedesktop.ModemManager1" - -/************** - * Interfaces * - **************/ - - - - - - - - - - - - - - - - _ - - - - - - - -#define "" - -/****************************** - * Methods/Signals/Properties * - ******************************/ - -/* - * Interface '' - */ - - - - - - - - - - - - - - -#endif /* _MODEM_MANAGER_NAMES_H_ */ - - - - - - - - diff --git a/build-aux/header-generator.xsl b/build-aux/header-generator.xsl index b97416c8..4cd0dea0 100644 --- a/build-aux/header-generator.xsl +++ b/build-aux/header-generator.xsl @@ -1,6 +1,7 @@ - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -/* */ - - - - - - - - - - - - - - - - - - - - - - - - + + + - -#define "" - - -/* flag values */ - - - - - - - - - - - - - - - + 'ABCDEFGHIJKLMNOPQRSTUVWXYZ_')"/> -typedef enum { - - = , - - -} ; - - - - -/* enum values */ - - + - - - - - - - - - - - - + + + + + MANAGER + + -typedef enum { - - = , - - -} ; - - - - - - - - - - - (generic description) - - - (Undocumented.) - - - +#define "" - + - - + @@ -178,7 +70,7 @@ typedef enum { -#define "" +#define "" @@ -188,8 +80,8 @@ typedef enum { - - + @@ -200,9 +92,6 @@ typedef enum { #define "" - - - @@ -210,8 +99,8 @@ typedef enum { /* Generated Header file do not edit */ /* - * - * version + * ModemManager Interface Specification + * Version 0.6 * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public @@ -230,13 +119,14 @@ typedef enum { * * Copyright (C) 2008 - 2009 Novell, Inc. * Copyright (C) 2009 - 2011 Red Hat, Inc. + * Copyright (C) 2011 Google, Inc. */ -#ifndef _MODEM_MANAGER_H_ -#define _MODEM_MANAGER_H_ +#ifndef _MODEM_MANAGER_NAMES_H_ +#define _MODEM_MANAGER_NAMES_H_ -#define MM_DBUS_PATH "/org/freedesktop/ModemManager" -#define MM_DBUS_SERVICE "org.freedesktop.ModemManager" +#define MM_DBUS_PATH "/org/freedesktop/ModemManager1" +#define MM_DBUS_SERVICE "org.freedesktop.ModemManager1" /************** * Interfaces * @@ -245,56 +135,51 @@ typedef enum { - - + + - + - _ + _ - + - + #define "" -/*********************** - * Methods/Enums/Flags * - ***********************/ +/****************************** + * Methods/Signals/Properties * + ******************************/ /* - * Interface + * Interface '' */ - - - - - - - - - - - - + + + + + + + + + + + + -/********** - * Errors * - **********/ - - -#endif /* _MODEM_MANAGER_H_ */ +#endif /* _MODEM_MANAGER_NAMES_H_ */ -- cgit v1.2.3-70-g09d2