Commit 49129873 authored by Christian Persch's avatar Christian Persch

Renamed from evince-backend.pc.in. Renamed library to libevdocument.la.

        * configure.ac:
        * evince-document.pc.in: Renamed from evince-backend.pc.in.
        * libdocument/Makefile.am: Renamed library to libevdocument.la.
        * libview/Makefile.am:
        * shell/Makefile.am:
        * backend/*/Makefile.am: Adapt to changed library name.

        * libdocument/Makefile.am:
        * libview/Makefile.am: Change the installed headers path to match
        the directory names in SVN.

        * evince-document.h:
        * evince-view.h: Add single headers. Bug #568227.

        * libdocument/*.h:
        * libview/*.h: Add single headers guards.

        * libview/Makefile.am:
        * libdocument/Makefile.am:
        * backend/*/Makefile.am:
        * help/reference/Makefile.am: Define EVINCE_COMPILATION, so we can
        still include individual headers.

        * properties/Makefile.am:
        * properties/ev-properties-main.c:
        * properties/ev-properties-view.h:
        * thumbnailer/Makefile.am:
        * thumbnailer/evince-thumbnailer.c: Include only evince-document.h.

        * libdocument/Makefile.am:
        * libview/Makefile.am: Generate type builtins from all installed headers.
        * libdocument/ev-link-action.[ch]:
        * libdocument/ev-link-dest.[ch]:
        * libdocument/ev-transition-effect.[ch]:
        * libview/ev-view.[ch]: Remove handcoded type builtins.

        * libdocument/Makefile.am:
        * evince-document.h: Add ev-document-factory.h to the public headers.

svn path=/trunk/; revision=3381
parent b2c38760
*~
*/*~
*/*/*~
*/*/*/*~
*.orig
*.rej
*/*.orig
*/*.rej
*/*/*.orig
*/*/*.rej
*/*/*/*.orig
*/*/*/*.rej
INSTALL
Makefile.in
*/Makefile.in
*/*/Makefile.in
*/*/*/Makefile.in
*/*/*/*/Makefile.in
aclocal.m4
autom4te.cache
compile
config.guess
config.h.in
config.sub
configure
depcomp
gnome-doc-utils.make
gtk-doc.make
help/reference/*.bak
help/reference/*.stamp
help/reference/html
help/reference/tmpl/*.sgml.bak
help/reference/xml
install-sh
intltool-extract.in
intltool-merge.in
intltool-update.in
ltmain.sh
missing
mkinstalldirs
po/Makefile.in.in
2009-01-25 Christian Persch <chpe@gnome.org>
* configure.ac:
* evince-document.pc.in: Renamed from evince-backend.pc.in.
* libdocument/Makefile.am: Renamed library to libevdocument.la.
* libview/Makefile.am:
* shell/Makefile.am:
* backend/*/Makefile.am: Adapt to changed library name.
* libdocument/Makefile.am:
* libview/Makefile.am: Change the installed headers path to match
the directory names in SVN.
* evince-document.h:
* evince-view.h: Add single headers. Bug #568227.
* libdocument/*.h:
* libview/*.h: Add single headers guards.
* libview/Makefile.am:
* libdocument/Makefile.am:
* backend/*/Makefile.am:
* help/reference/Makefile.am: Define EVINCE_COMPILATION, so we can
still include individual headers.
* properties/Makefile.am:
* properties/ev-properties-main.c:
* properties/ev-properties-view.h:
* thumbnailer/Makefile.am:
* thumbnailer/evince-thumbnailer.c: Include only evince-document.h.
* libdocument/Makefile.am:
* libview/Makefile.am: Generate type builtins from all installed headers.
* libdocument/ev-link-action.[ch]:
* libdocument/ev-link-dest.[ch]:
* libdocument/ev-transition-effect.[ch]:
* libview/ev-view.[ch]: Remove handcoded type builtins.
* libdocument/Makefile.am:
* evince-document.h: Add ev-document-factory.h to the public headers.
2009-01-24 Carlos Garcia Campos <carlosgc@gnome.org>
* shell/ev-sidebar-page.c:
......
......@@ -14,10 +14,19 @@ if ENABLE_THUMBNAILER
SUBDIRS += thumbnailer
endif
NULL =
pkgconfigdir = $(libdir)/pkgconfig
pkgconfig_DATA = \
evince-backend-$(EV_API_VERSION).pc \
evince-view-$(EV_API_VERSION).pc
evince-document-$(EV_API_VERSION).pc \
evince-view-$(EV_API_VERSION).pc \
$(NULL)
headerdir = $(includedir)/evince/$(EV_API_VERSION)
header_DATA = \
evince-document.h \
evince-view.h \
$(NULL)
# Applications
......
......@@ -4,6 +4,7 @@ INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(LIB_CFLAGS) \
$(WARN_CFLAGS) \
......@@ -17,7 +18,7 @@ libcomicsdocument_la_SOURCES = \
libcomicsdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libcomicsdocument_la_LIBADD = \
$(top_builddir)/libdocument/libevbackend.la \
$(top_builddir)/libdocument/libevdocument.la \
$(BACKEND_LIBS) \
$(LIB_LIBS)
......
......@@ -5,6 +5,7 @@ INCLUDES = \
-I$(top_srcdir)/libdocument \
-DGNOMEICONDIR=\""${prefix}/${DATADIRNAME}/pixmaps"\" \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(DJVU_CFLAGS) \
$(WARN_CFLAGS) \
......@@ -23,7 +24,7 @@ libdjvudocument_la_SOURCES = \
libdjvudocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libdjvudocument_la_LIBADD = \
$(top_builddir)/libdocument/libevbackend.la \
$(top_builddir)/libdocument/libevdocument.la \
$(BACKEND_LIBS) \
$(DJVU_LIBS)
......
......@@ -7,6 +7,7 @@ INCLUDES = \
-I$(top_srcdir)/libdocument \
-I$(srcdir)/mdvi-lib \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DEVINCE_COMPILATION \
$(WARN_CFLAGS) \
$(BACKEND_CFLAGS) \
$(SPECTRE_CFLAGS) \
......@@ -26,7 +27,7 @@ libdvidocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libdvidocument_la_LIBADD = \
mdvi-lib/libmdvi.la \
-lkpathsea \
$(top_builddir)/libdocument/libevbackend.la \
$(top_builddir)/libdocument/libevdocument.la \
$(BACKEND_LIBS) \
$(SPECTRE_LIBS)
......
......@@ -5,6 +5,7 @@ INCLUDES = \
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DDATADIR=\""$(datadir)"\" \
-DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)
......@@ -43,7 +44,7 @@ IMPOSTER_RENDER_INCLUDE_FILES = \
libimpressdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libimpressdocument_la_LIBADD = \
$(top_builddir)/libdocument/libevbackend.la \
$(top_builddir)/libdocument/libevdocument.la \
$(BACKEND_LIBS)
backend_in_files = impressdocument.evince-backend.in
......
......@@ -4,6 +4,7 @@ INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(POPPLER_CFLAGS) \
$(WARN_CXXFLAGS) \
......@@ -17,7 +18,7 @@ libpdfdocument_la_SOURCES = \
libpdfdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libpdfdocument_la_LIBADD = \
$(top_builddir)/libdocument/libevbackend.la \
$(top_builddir)/libdocument/libevdocument.la \
$(BACKEND_LIBS) \
$(POPPLER_LIBS) \
$(CAIRO_PDF_LIBS) \
......
......@@ -4,6 +4,7 @@ INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)
......@@ -16,7 +17,7 @@ libpixbufdocument_la_SOURCES = \
libpixbufdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libpixbufdocument_la_LIBADD = \
$(top_builddir)/libdocument/libevbackend.la \
$(top_builddir)/libdocument/libevdocument.la \
$(BACKEND_LIBS)
backend_in_files = pixbufdocument.evince-backend.in
......
......@@ -4,6 +4,7 @@ INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(SPECTRE_CFLAGS) \
$(WARN_CFLAGS) \
......@@ -17,7 +18,7 @@ libpsdocument_la_SOURCES = \
libpsdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libpsdocument_la_LIBADD = \
$(top_builddir)/libdocument/libevbackend.la \
$(top_builddir)/libdocument/libevdocument.la \
$(BACKEND_LIBS) \
$(SPECTRE_LIBS)
......
......@@ -4,6 +4,7 @@ INCLUDES = \
-I$(top_srcdir) \
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)
......@@ -18,7 +19,7 @@ libtiffdocument_la_SOURCES = \
libtiffdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libtiffdocument_la_LIBADD = \
$(top_builddir)/libdocument/libevbackend.la \
$(top_builddir)/libdocument/libevdocument.la \
-ltiff
backend_in_files = tiffdocument.evince-backend.in
......
......@@ -21,11 +21,11 @@ m4_define([ev_api_version], [2.25])
# - If the interface is the same as the previous version, change to C:R+1:A
# Libtool version of the backend library
m4_define([ev_backend_lt_current],[1])
m4_define([ev_backend_lt_revision],[0])
m4_define([ev_backend_lt_age],[0])
m4_define([ev_backend_lt_version_info],[ev_backend_lt_current:ev_backend_lt_revision:ev_backend_lt_age])
m4_define([ev_backend_lt_current_minus_age],[m4_eval(ev_backend_lt_current - ev_backend_lt_age)])
m4_define([ev_document_lt_current],[1])
m4_define([ev_document_lt_revision],[0])
m4_define([ev_document_lt_age],[0])
m4_define([ev_document_lt_version_info],[ev_document_lt_current:ev_document_lt_revision:ev_document_lt_age])
m4_define([ev_document_lt_current_minus_age],[m4_eval(ev_document_lt_current - ev_document_lt_age)])
# Libtool version of the view library
m4_define([ev_view_lt_current],[1])
......@@ -49,6 +49,7 @@ AM_PROG_LIBTOOL
AC_ISC_POSIX
AC_PROG_CC
AM_PROG_CC_STDC
AM_PROG_CC_C_O
AC_PROG_CXX
AC_STDC_HEADERS
IT_PROG_INTLTOOL([0.35.0])
......@@ -456,8 +457,8 @@ AC_SUBST([EV_MICRO_VERSION],[ev_micro_version])
AC_SUBST([EV_API_VERSION],[ev_api_version])
AC_SUBST([EV_BACKEND_LT_VERSION_INFO],[ev_backend_lt_version_info])
AC_SUBST([EV_BACKEND_LT_CURRENT_MINUS_AGE],[ev_backend_lt_current_minus_age])
AC_SUBST([EV_DOCUMENT_LT_VERSION_INFO],[ev_document_lt_version_info])
AC_SUBST([EV_DOCUMENT_LT_CURRENT_MINUS_AGE],[ev_document_lt_current_minus_age])
AC_SUBST([EV_VIEW_LT_VERSION_INFO],[ev_view_lt_version_info])
AC_SUBST([EV_VIEW_LT_CURRENT_MINUS_AGE],[ev_view_lt_current_minus_age])
......@@ -515,7 +516,7 @@ test/Makefile
thumbnailer/Makefile
])
AC_CONFIG_FILES(evince-backend-[]ev_api_version[].pc:evince-backend.pc.in)
AC_CONFIG_FILES(evince-document-[]ev_api_version[].pc:evince-document.pc.in)
AC_CONFIG_FILES(evince-view-[]ev_api_version[].pc:evince-view.pc.in)
AC_OUTPUT
......
/*
* Copyright © 2009 Christian Persch
*
* This program 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.1 of the License, 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 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.,
* 59 Temple Place, Suite 330, Boston, MA 02110-1301 USA
*/
#ifndef EVINCE_DOCUMENT_H
#define EVINCE_DOCUMENT_H
#define __EV_EVINCE_DOCUMENT_H_INSIDE__
#include <libdocument/ev-async-renderer.h>
#include <libdocument/ev-attachment.h>
#include <libdocument/ev-backends-manager.h>
#include <libdocument/ev-document-factory.h>
#include <libdocument/ev-document-find.h>
#include <libdocument/ev-document-fonts.h>
#include <libdocument/ev-document-forms.h>
#include <libdocument/ev-document.h>
#include <libdocument/ev-document-images.h>
#include <libdocument/ev-document-info.h>
#include <libdocument/ev-document-layers.h>
#include <libdocument/ev-document-links.h>
#include <libdocument/ev-document-misc.h>
#include <libdocument/ev-document-security.h>
#include <libdocument/ev-document-thumbnails.h>
#include <libdocument/ev-document-transition.h>
#include <libdocument/ev-document-type-builtins.h>
#include <libdocument/ev-file-exporter.h>
#include <libdocument/ev-file-helpers.h>
#include <libdocument/ev-form-field.h>
#include <libdocument/ev-image.h>
#include <libdocument/ev-layer.h>
#include <libdocument/ev-link-action.h>
#include <libdocument/ev-link-dest.h>
#include <libdocument/ev-link.h>
#include <libdocument/ev-page.h>
#include <libdocument/ev-render-context.h>
#include <libdocument/ev-selection.h>
#include <libdocument/ev-transition-effect.h>
#include <libdocument/ev-version.h>
#undef __EV_EVINCE_DOCUMENT_H_INSIDE__
#endif /* !EVINCE_DOCUMENT_H */
......@@ -3,9 +3,9 @@ exec_prefix=@exec_prefix@
libdir=@libdir@
includedir=@includedir@/evince/@EV_API_VERSION@
Name: Evince Backend
Name: Evince Document
Description: GNOME document viewer backend library
Version: @VERSION@
Requires: gio-2.0 >= @GLIB_REQUIRED@ gtk+-2.0 >= @GTK_REQUIRED@
Libs: -L${libdir} -levbackend
Libs: -L${libdir} -levdocument
Cflags: -I${includedir}
/*
* Copyright © 2009 Christian Persch
*
* This program 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.1 of the License, 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 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.,
* 59 Temple Place, Suite 330, Boston, MA 02110-1301 USA
*/
#ifndef EVINCE_VIEW_H
#define EVINCE_VIEW_H
#define __EV_EVINCE_VIEW_H_INSIDE__
#include <libview/ev-job-scheduler.h>
#include <libview/ev-jobs.h>
#include <libview/ev-page-cache.h>
#include <libview/ev-view.h>
#include <libview/ev-view-type-builtins.h>
#undef __EV_EVINCE_VIEW_H_INSIDE__
#endif /* !EVINCE_VIEW_H */
......@@ -6,6 +6,6 @@ includedir=@includedir@/evince/@EV_API_VERSION@
Name: Evince View
Description: GNOME document viewer view library
Version: @VERSION@
Requires: evince-backend-@EV_API_VERSION@ = @VERSION@ gthread-2.0
Requires: evince-document-@EV_API_VERSION@ = @VERSION@ gthread-2.0
Libs: -L${libdir} -levview
Cflags: -I${includedir}
......@@ -73,6 +73,8 @@ expand_content_files=
# e.g. INCLUDES=-I$(top_srcdir) -I$(top_builddir) $(GTK_DEBUG_FLAGS)
# e.g. GTKDOC_LIBS=$(top_builddir)/gtk/$(gtktargetlib)
INCLUDES= \
-I$(top_srcdir) \
-I$(top_builddir) \
-I$(top_srcdir)/shell \
-DDATADIR=\"$(pkgdatadir)\" \
-DGNOMEDATADIR=\"$(datadir)\" \
......@@ -86,6 +88,7 @@ INCLUDES= \
-I$(top_srcdir)/properties \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \
-DEVINCE_COMPILATION \
$(SHELL_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED) \
......@@ -101,7 +104,7 @@ GTKDOC_LIBS= \
$(top_builddir)/cut-n-paste/gimpcellrenderertoggle/libgimpcellrenderertoggle.la \
$(top_builddir)/cut-n-paste/smclient/libsmclient.la \
$(top_builddir)/properties/libevproperties.la \
$(top_builddir)/libdocument/libevbackend.la \
$(top_builddir)/libdocument/libevdocument.la \
$(top_builddir)/libview/libevview.la \
$(SHELL_LIBS) \
$(GNOME_PRINT_LIBS) \
......
INCLUDES= \
-DG_LOG_DOMAIN=\"EvDocument\" \
-DEVINCE_UIDIR=\"$(pkgdatadir)\" \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DEV_BACKENDSDIR=\"$(libdir)/evince/backends\" \
$(LIBDOCUMENT_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)
lib_LTLIBRARIES = libevbackend.la
libevbackend_la_LDFLAGS = \
-version-info $(EV_BACKEND_LT_VERSION_INFO) \
-export-symbols-regex "^ev_*" \
$(AM_LDFLAGS)
libevbackend_la_LIBADD = $(LIBDOCUMENT_LIBS)
lib_LTLIBRARIES = libevdocument.la
NOINST_H_FILES = \
ev-debug.h \
ev-document-factory.h \
ev-module.h
INST_H_FILES = \
ev-async-renderer.h \
ev-attachment.h \
ev-backends-manager.h \
ev-document-factory.h \
ev-document-find.h \
ev-document-fonts.h \
ev-document-forms.h \
......@@ -52,10 +36,10 @@ INST_H_FILES = \
ev-transition-effect.h \
ev-version.h
headerdir = $(includedir)/evince/$(EV_API_VERSION)/ev-backend
headerdir = $(includedir)/evince/$(EV_API_VERSION)/libdocument
header_DATA = $(INST_H_FILES)
libevbackend_la_SOURCES= \
libevdocument_la_SOURCES= \
ev-async-renderer.c \
ev-attachment.c \
ev-backends-manager.c \
......@@ -89,6 +73,27 @@ libevbackend_la_SOURCES= \
$(NOINST_H_FILES) \
$(INST_H_FILES)
libevdocument_la_CPPFLAGS = \
-DG_LOG_DOMAIN=\"EvDocument\" \
-DEVINCE_UIDIR=\"$(pkgdatadir)\" \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DEV_BACKENDSDIR=\"$(libdir)/evince/backends\" \
-DEVINCE_COMPILATION \
$(AM_CPPFLAGS)
libevdocument_la_CFLAGS = \
$(LIBDOCUMENT_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED) \
$(AM_CFLAGS)
libevdocument_la_LDFLAGS = \
-version-info $(EV_DOCUMENT_LT_VERSION_INFO) \
-export-symbols-regex "^ev_*" \
$(AM_LDFLAGS)
libevdocument_la_LIBADD = $(LIBDOCUMENT_LIBS)
BUILT_SOURCES = \
ev-document-type-builtins.c \
ev-document-type-builtins.h
......@@ -98,13 +103,13 @@ CLEANFILES = $(BUILT_SOURCES) stamp-ev-document-type-builtins.h
ev-document-type-builtins.h: stamp-ev-document-type-builtins.h
@true
stamp-ev-document-type-builtins.h: ev-document-type-builtins.h.template ev-document-info.h
stamp-ev-document-type-builtins.h: ev-document-type-builtins.h.template $(INST_H_FILES)
$(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbh \
&& (cmp -s xgen-etbh ev-document-type-builtins.h || cp xgen-etbh ev-document-type-builtins.h ) \
&& rm -f xgen-etbh \
&& echo timestamp > $(@F)
ev-document-type-builtins.c: ev-document-type-builtins.c.template ev-document-info.h
ev-document-type-builtins.c: ev-document-type-builtins.c.template $(INST_H_FILES)
$(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbc \
&& (cmp -s xgen-etbc ev-document-type-builtins.c || cp xgen-etbc ev-document-type-builtins.c ) \
&& rm -f xgen-etbc
......@@ -112,4 +117,3 @@ ev-document-type-builtins.c: ev-document-type-builtins.c.template ev-document-in
EXTRA_DIST = \
ev-document-type-builtins.c.template \
ev-document-type-builtins.h.template
......@@ -18,6 +18,10 @@
*
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_ASYNC_RENDERER_H
#define EV_ASYNC_RENDERER_H
......
......@@ -17,6 +17,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef __EV_ATTACHMENT_H__
#define __EV_ATTACHMENT_H__
......
......@@ -17,6 +17,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_BACKENDS_MANAGER
#define EV_BACKENDS_MANAGER
......
......@@ -32,6 +32,10 @@
/* Modified by Evince Team */
#if !defined (EVINCE_COMPILATION)
#error "This is a private header."
#endif
#ifndef __EV_DEBUG_H__
#define __EV_DEBUG_H__
......
......@@ -18,6 +18,10 @@
*
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FACTORY_H
#define EV_DOCUMENT_FACTORY_H
......
......@@ -19,6 +19,10 @@
* $Id$
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FIND_H
#define EV_DOCUMENT_FIND_H
......
......@@ -21,6 +21,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FONTS_H
#define EV_DOCUMENT_FONTS_H
......
......@@ -18,6 +18,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_FORMS_H
#define EV_DOCUMENT_FORMS_H
......
......@@ -18,6 +18,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_IMAGES_H
#define EV_DOCUMENT_IMAGES_H
......
......@@ -18,6 +18,10 @@
*
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_INFO_H
#define EV_DOCUMENT_INFO_H
......
......@@ -18,6 +18,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_LAYERS_H
#define EV_DOCUMENT_LAYERS_H
......
......@@ -21,6 +21,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_LINKS_H
#define EV_DOCUMENT_LINKS_H
......
......@@ -19,6 +19,10 @@
* $Id$
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_MISC_H
#define EV_DOCUMENT_MISC_H
......
......@@ -21,6 +21,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_SECURITY_H
#define EV_DOCUMENT_SECURITY_H
......
......@@ -18,6 +18,10 @@
*
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_THUMBNAILS_H
#define EV_DOCUMENT_THUMBNAILS_H
......
......@@ -18,6 +18,10 @@
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_TRANSITION_H
#define EV_DOCUMENT_TRANSITION_H
......
/*** BEGIN file-header ***/
#include <config.h>
#include "ev-document-type-builtins.h"
/*** END file-header ***/
......
/*** BEGIN file-header ***/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_TYPE_BUILTINS_H
#define EV_DOCUMENT_TYPE_BUILTINS_H
......
......@@ -19,6 +19,10 @@
* $Id$
*/
#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
#error "Only <evince-document.h> can be included directly."
#endif
#ifndef EV_DOCUMENT_H
#define EV_DOCUMENT_H
......