[librest/wip/tintou/unique-header] header: add rest.h as unique header
- From: Corentin Noël <corentinnoel src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librest/wip/tintou/unique-header] header: add rest.h as unique header
- Date: Fri, 30 Mar 2018 08:50:35 +0000 (UTC)
commit 613ad8ab28d8ab921ac78039d0fa99cc6a234796
Author: Corentin Noël <corentin elementary io>
Date: Fri Mar 30 09:47:49 2018 +0100
header: add rest.h as unique header
This allows easier use of the library
rest/Makefile.am | 5 +++--
rest/rest.h | 36 ++++++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 2 deletions(-)
---
diff --git a/rest/Makefile.am b/rest/Makefile.am
index 64205d4..2f65a1a 100644
--- a/rest/Makefile.am
+++ b/rest/Makefile.am
@@ -38,7 +38,8 @@ lib_headers = \
oauth2-proxy.h \
oauth2-proxy-call.h \
rest-xml-node.h \
- rest-xml-parser.h
+ rest-xml-parser.h \
+ rest.h
EXTRA_DIST = \
rest-marshal.txt
@@ -120,7 +121,7 @@ Rest_@API_VERSION_AM@_gir_INCLUDES = GObject-2.0 Gio-2.0 Soup-2.4
Rest_@API_VERSION_AM@_gir_PACKAGES = gobject-2.0 libsoup-2.4 libxml-2.0 gio-2.0
Rest_@API_VERSION_AM@_gir_SCANNERFLAGS = --accept-unprefixed --warn-all
Rest_@API_VERSION_AM@_gir_EXPORT_PACKAGES = rest-@API_VERSION@
-REST_CINCLUDES=$(patsubst %,--c-include='rest/%',$(shell echo $(lib_headers)))
+REST_CINCLUDES=--c-include='rest/rest.h'
INTROSPECTION_SCANNER_ARGS = $(REST_CINCLUDES)
girdir = $(datadir)/gir-1.0
diff --git a/rest/rest.h b/rest/rest.h
new file mode 100644
index 0000000..bbcef69
--- /dev/null
+++ b/rest/rest.h
@@ -0,0 +1,36 @@
+/*
+ * librest - RESTful web services access
+ * Copyright (c) 2008, 2009, 2010 Intel Corporation.
+ *
+ * This program is free software; you can redistribute it and/or modify it
+ * under the terms and conditions of the GNU Lesser General Public License,
+ * version 2.1, as published by the Free Software Foundation.
+ *
+ * This program is distributed in the hope 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 program; if not, write to the Free Software Foundation,
+ * Inc., 51 Franklin St - Fifth Floor, Boston, MA 02110-1301 USA.
+ *
+ */
+
+#ifndef _REST_H
+#define _REST_H 1
+
+#include <rest/oauth2-proxy.h>
+#include <rest/oauth2-proxy-call.h>
+#include <rest/oauth-proxy.h>
+#include <rest/oauth-proxy-call.h>
+#include <rest/rest-enum-types.h>
+#include <rest/rest-param.h>
+#include <rest/rest-params.h>
+#include <rest/rest-proxy.h>
+#include <rest/rest-proxy-auth.h>
+#include <rest/rest-proxy-call.h>
+#include <rest/rest-xml-node.h>
+#include <rest/rest-xml-parser.h>
+
+#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]