aboutsummaryrefslogtreecommitdiffstats
path: root/src/epiphany.h.in
diff options
context:
space:
mode:
authorChristian Persch <chpe@src.gnome.org>2008-04-12 04:05:25 +0800
committerChristian Persch <chpe@src.gnome.org>2008-04-12 04:05:25 +0800
commit4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54 (patch)
tree5d2722ce42f0b1942c81a831620f307b0a2051bb /src/epiphany.h.in
parent0f850ad05322a65ac6e845543d370ecbe6a0d46c (diff)
downloadgsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar
gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar.gz
gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar.bz2
gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar.lz
gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar.xz
gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.tar.zst
gsoc2013-epiphany-4cdf2b787c92977a7883c2f4eae8c5e5f97dfd54.zip
Add epiphany.h. Only allow including epiphany/epiphany.h; all other
Add epiphany.h. Only allow including epiphany/epiphany.h; all other headers are internal. svn path=/trunk/; revision=8210
Diffstat (limited to 'src/epiphany.h.in')
-rw-r--r--src/epiphany.h.in75
1 files changed, 75 insertions, 0 deletions
diff --git a/src/epiphany.h.in b/src/epiphany.h.in
new file mode 100644
index 000000000..aa4a6781c
--- /dev/null
+++ b/src/epiphany.h.in
@@ -0,0 +1,75 @@
+/* -*- Mode: C; tab-width: 2; indent-tabs-mode: nil; c-basic-offset: 2; -*- */
+/* Copyright © 2008 Xan Lopez <xan@gnome.org>
+ *
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2, or (at your option)
+ * any later version.
+ *
+ * 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 Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ *
+ */
+
+#ifndef __EPIPHANY_H__
+#define __EPIPHANY_H__
+
+#define __EPHY_EPIPHANY_H_INSIDE__
+
+/* From GTK_CHECK_VERSION */
+#define EPHY_MAJOR_VERSION (@EPIPHANY_MAJOR_VERSION@)
+#define EPHY_MINOR_VERSION (@EPIPHANY_MINOR_VERSION@)
+#define EPHY_MICRO_VERSION (@EPIPHANY_MICRO_VERSION@)
+
+#define EPHY_CHECK_VERSION(major, minor, micro)\
+ (EPHY_MAJOR_VERSION > (major) || \
+ (EPHY_MAJOR_VERSION == (major) && EPHY_MINOR_VERSION > (minor)) || \
+ (EPHY_MAJOR_VERSION == (major) && EPHY_MINOR_VERSION == (minor) && \
+ EPHY_MICRO_VERSION >= (micro)))
+
+#include <epiphany/ephy-adblock.h>
+#include <epiphany/ephy-adblock-manager.h>
+#include <epiphany/ephy-base-embed.h>
+#include <epiphany/ephy-bookmarks.h>
+#include <epiphany/ephy-bookmarks-type-builtins.h>
+#include <epiphany/ephy-command-manager.h>
+#include <epiphany/ephy-cookie-manager.h>
+#include <epiphany/ephy-dialog.h>
+#include <epiphany/ephy-embed-container.h>
+#include <epiphany/ephy-embed-event.h>
+#include <epiphany/ephy-embed-factory.h>
+#include <epiphany/ephy-embed.h>
+#include <epiphany/ephy-embed-persist.h>
+#include <epiphany/ephy-embed-prefs.h>
+#include <epiphany/ephy-embed-shell.h>
+#include <epiphany/ephy-embed-single.h>
+#include <epiphany/ephy-embed-type-builtins.h>
+#include <epiphany/ephy-embed-utils.h>
+#include <epiphany/ephy-extension.h>
+#include <epiphany/ephy-extensions-manager.h>
+#include <epiphany/ephy-history.h>
+#include <epiphany/ephy-history-item.h>
+#include <epiphany/ephy-lib-type-builtins.h>
+#include <epiphany/ephy-link.h>
+#include <epiphany/ephy-loader.h>
+#include <epiphany/ephy-node-db.h>
+#include <epiphany/ephy-node.h>
+#include <epiphany/ephy-notebook.h>
+#include <epiphany/ephy-password-manager.h>
+#include <epiphany/ephy-permission-manager.h>
+#include <epiphany/ephy-session.h>
+#include <epiphany/ephy-shell.h>
+#include <epiphany/ephy-state.h>
+#include <epiphany/ephy-statusbar.h>
+#include <epiphany/ephy-type-builtins.h>
+#include <epiphany/ephy-window.h>
+
+#undef __EPHY_EPIPHANY_H_INSIDE__
+
+#endif /* !__EPIPHANY_H__ */