--- /dev/null
+*~
+*/*~
+*/*/*~
+*/*/*/*~
+*.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:
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
-I$(top_srcdir) \
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+ -DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(LIB_CFLAGS) \
$(WARN_CFLAGS) \
libcomicsdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libcomicsdocument_la_LIBADD = \
- $(top_builddir)/libdocument/libevbackend.la \
+ $(top_builddir)/libdocument/libevdocument.la \
$(BACKEND_LIBS) \
$(LIB_LIBS)
-I$(top_srcdir)/libdocument \
-DGNOMEICONDIR=\""${prefix}/${DATADIRNAME}/pixmaps"\" \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+ -DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(DJVU_CFLAGS) \
$(WARN_CFLAGS) \
libdjvudocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libdjvudocument_la_LIBADD = \
- $(top_builddir)/libdocument/libevbackend.la \
+ $(top_builddir)/libdocument/libevdocument.la \
$(BACKEND_LIBS) \
$(DJVU_LIBS)
-I$(top_srcdir)/libdocument \
-I$(srcdir)/mdvi-lib \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+ -DEVINCE_COMPILATION \
$(WARN_CFLAGS) \
$(BACKEND_CFLAGS) \
$(SPECTRE_CFLAGS) \
libdvidocument_la_LIBADD = \
mdvi-lib/libmdvi.la \
-lkpathsea \
- $(top_builddir)/libdocument/libevbackend.la \
+ $(top_builddir)/libdocument/libevdocument.la \
$(BACKEND_LIBS) \
$(SPECTRE_LIBS)
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DDATADIR=\""$(datadir)"\" \
+ -DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)
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
-I$(top_srcdir) \
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+ -DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(POPPLER_CFLAGS) \
$(WARN_CXXFLAGS) \
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) \
EXTRA_DIST = $(backend_in_files)
-CLEANFILES = $(backend_DATA)
\ No newline at end of file
+CLEANFILES = $(backend_DATA)
-I$(top_srcdir) \
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+ -DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)
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
-I$(top_srcdir) \
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+ -DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(SPECTRE_CFLAGS) \
$(WARN_CFLAGS) \
libpsdocument_la_LDFLAGS = $(BACKEND_LIBTOOL_FLAGS)
libpsdocument_la_LIBADD = \
- $(top_builddir)/libdocument/libevbackend.la \
+ $(top_builddir)/libdocument/libevdocument.la \
$(BACKEND_LIBS) \
$(SPECTRE_LIBS)
EXTRA_DIST = $(backend_in_files)
-CLEANFILES = $(backend_DATA)
\ No newline at end of file
+CLEANFILES = $(backend_DATA)
-I$(top_srcdir) \
-I$(top_srcdir)/libdocument \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+ -DEVINCE_COMPILATION \
$(BACKEND_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)
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
# - 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])
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])
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])
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
libevmountoperation_la_CFLAGS = \
$(SHELL_CORE_CFLAGS) \
$(WARNING_CFLAGS) \
- $(DISABLE_DEPRECATED)
\ No newline at end of file
+ $(DISABLE_DEPRECATED)
gen_sources = xgen-wmh xgen-wmc $(libgimpcellrenderertoggle_la_built_sources)
CLEANFILES = $(gen_sources)
-EXTRA_DIST = $(libgimpcellrenderertoggle_la_extra_sources)
\ No newline at end of file
+EXTRA_DIST = $(libgimpcellrenderertoggle_la_extra_sources)
--- /dev/null
+/*
+ * 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 */
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}
--- /dev/null
+/*
+* 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 */
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}
# 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)\" \
-I$(top_srcdir)/libdocument \
-I$(top_builddir)/libdocument \
-I$(top_srcdir)/libview \
- -I$(top_builddir)/libview \
+ -I$(top_builddir)/libview \
-I$(top_srcdir)/properties \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \
+ -DEVINCE_COMPILATION \
$(SHELL_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED) \
$(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 \
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 \
$(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
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
EXTRA_DIST = \
ev-document-type-builtins.c.template \
ev-document-type-builtins.h.template
-
*
*/
+#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
* 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__
* 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
/* Modified by Evince Team */
+#if !defined (EVINCE_COMPILATION)
+#error "This is a private header."
+#endif
+
#ifndef __EV_DEBUG_H__
#define __EV_DEBUG_H__
*
*/
+#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
* $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
* 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
* 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
* 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
*
*/
+#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
* 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
* 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
* $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
* 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
*
*/
+#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
* 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
* $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
* 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_FILE_EXPORTER_H
#define EV_FILE_EXPORTER_H
* $Id$
*/
+#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-document.h> can be included directly."
+#endif
+
#ifndef EV_FILE_HELPERS_H
#define EV_FILE_HELPERS_H
* 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_FORM_FIELD_H
#define EV_FORM_FIELD_H
* 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_IMAGE_H__
#define __EV_IMAGE_H__
* 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_LAYER_H__
#define __EV_LAYER_H__
#include <config.h>
#include "ev-link-action.h"
+#include "ev-document-type-builtins.h"
enum {
PROP_0,
#define EV_LINK_ACTION_GET_PRIVATE(object) \
(G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_LINK_ACTION, EvLinkActionPrivate))
-GType
-ev_link_action_type_get_type (void)
-{
- static GType type = 0;
-
- if (G_UNLIKELY (type == 0)) {
- static const GEnumValue values[] = {
- { EV_LINK_ACTION_TYPE_GOTO_DEST, "EV_LINK_ACTION_TYPE_GOTO_DEST", "goto-dest" },
- { EV_LINK_ACTION_TYPE_GOTO_REMOTE, "EV_LINK_ACTION_TYPE_GOTO_REMOTE", "goto-remote" },
- { EV_LINK_ACTION_TYPE_LAUNCH, "EV_LINK_ACTION_TYPE_LAUNCH", "launch" },
- { EV_LINK_ACTION_TYPE_EXTERNAL_URI, "EV_LINK_ACTION_TYPE_EXTERNAL_URI", "external-uri"},
- { EV_LINK_ACTION_TYPE_NAMED, "EV_LINK_ACTION_TYPE_NAMED", "named"},
- { 0, NULL, NULL }
- };
-
- type = g_enum_register_static ("EvLinkActionType", values);
- }
-
- return type;
-}
-
EvLinkActionType
ev_link_action_get_action_type (EvLinkAction *self)
{
* 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_LINK_ACTION_H
#define EV_LINK_ACTION_H
#define EV_IS_LINK_ACTION_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_LINK_ACTION))
#define EV_LINK_ACTION_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_LINK_ACTION, EvLinkActionClass))
-#define EV_TYPE_LINK_ACTION_TYPE (ev_link_action_type_get_type ())
-
typedef enum {
EV_LINK_ACTION_TYPE_GOTO_DEST,
EV_LINK_ACTION_TYPE_GOTO_REMOTE,
* actions */
} EvLinkActionType;
-GType ev_link_action_type_get_type (void) G_GNUC_CONST;
GType ev_link_action_get_type (void) G_GNUC_CONST;
EvLinkActionType ev_link_action_get_action_type (EvLinkAction *self);
*/
#include <config.h>
+
#include "ev-link-dest.h"
+#include "ev-document-type-builtins.h"
enum {
PROP_0,
#define EV_LINK_DEST_GET_PRIVATE(object) \
(G_TYPE_INSTANCE_GET_PRIVATE ((object), EV_TYPE_LINK_DEST, EvLinkDestPrivate))
-GType
-ev_link_dest_type_get_type (void)
-{
- static GType type = 0;
-
- if (G_UNLIKELY (type == 0)) {
- static const GEnumValue values[] = {
- { EV_LINK_DEST_TYPE_PAGE, "EV_LINK_DEST_TYPE_PAGE", "page" },
- { EV_LINK_DEST_TYPE_XYZ, "EV_LINK_DEST_TYPE_XYZ", "xyz" },
- { EV_LINK_DEST_TYPE_FIT, "EV_LINK_DEST_TYPE_FIT", "fit" },
- { EV_LINK_DEST_TYPE_FITH, "EV_LINK_DEST_TYPE_FITH", "fith" },
- { EV_LINK_DEST_TYPE_FITV, "EV_LINK_DEST_TYPE_FITV", "fitv" },
- { EV_LINK_DEST_TYPE_FITR, "EV_LINK_DEST_TYPE_FITR", "fitr" },
- { EV_LINK_DEST_TYPE_NAMED, "EV_LINK_DEST_TYPE_NAMED", "named" },
- { EV_LINK_DEST_TYPE_PAGE_LABEL, "EV_LINK_DEST_TYPE_PAGE_LABEL", "page_label" },
- { EV_LINK_DEST_TYPE_UNKNOWN, "EV_LINK_DEST_TYPE_UNKNOWN", "unknown" },
- { 0, NULL, NULL }
- };
-
- type = g_enum_register_static ("EvLinkDestType", values);
- }
-
- return type;
-}
-
EvLinkDestType
ev_link_dest_get_dest_type (EvLinkDest *self)
{
* 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_LINK_DEST_H
#define EV_LINK_DEST_H
#define EV_IS_LINK_DEST_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_LINK_DEST))
#define EV_LINK_DEST_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_LINK_DEST, EvLinkDestClass))
-#define EV_TYPE_LINK_DEST_TYPE (ev_link_dest_type_get_type ())
-
typedef enum {
EV_LINK_DEST_TYPE_PAGE,
EV_LINK_DEST_TYPE_XYZ,
EV_LINK_DEST_TYPE_UNKNOWN
} EvLinkDestType;
-GType ev_link_dest_type_get_type (void) G_GNUC_CONST;
GType ev_link_dest_get_type (void) G_GNUC_CONST;
EvLinkDestType ev_link_dest_get_dest_type (EvLinkDest *self);
* 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_LINK_H
#define EV_LINK_H
/* Modified by Evince Team */
+#if !defined (EVINCE_COMPILATION)
+#error "This is a private header."
+#endif
+
#ifndef EV_MODULE_H
#define EV_MODULE_H
* 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_PAGE_H
#define EV_PAGE_H
* 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_RENDER_CONTEXT_H
#define EV_RENDER_CONTEXT_H
*
*/
+#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-document.h> can be included directly."
+#endif
+
#ifndef EV_SELECTION_H
#define EV_SELECTION_H
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#include <config.h>
+
#include "ev-transition-effect.h"
+#include "ev-document-type-builtins.h"
+
#define EV_TRANSITION_EFFECT_GET_PRIV(obj) (G_TYPE_INSTANCE_GET_PRIVATE ((obj), EV_TYPE_TRANSITION_EFFECT, EvTransitionEffectPrivate))
typedef struct EvTransitionEffectPrivate EvTransitionEffectPrivate;
G_DEFINE_TYPE (EvTransitionEffect, ev_transition_effect, G_TYPE_OBJECT)
-
-GType
-ev_transition_effect_type_get_type (void)
-{
- static GType type = 0;
-
- if (G_UNLIKELY (type == 0)) {
- static const GEnumValue values[] = {
- { EV_TRANSITION_EFFECT_REPLACE, "EV_TRANSITION_EFFECT_REPLACE", "replace" },
- { EV_TRANSITION_EFFECT_SPLIT, "EV_TRANSITION_EFFECT_SPLIT", "split" },
- { EV_TRANSITION_EFFECT_BLINDS, "EV_TRANSITION_EFFECT_BLINDS", "blinds" },
- { EV_TRANSITION_EFFECT_BOX, "EV_TRANSITION_EFFECT_BOX", "box" },
- { EV_TRANSITION_EFFECT_WIPE, "EV_TRANSITION_EFFECT_WIPE", "wipe" },
- { EV_TRANSITION_EFFECT_DISSOLVE, "EV_TRANSITION_EFFECT_DISSOLVE", "dissolve" },
- { EV_TRANSITION_EFFECT_GLITTER, "EV_TRANSITION_EFFECT_GLITTER", "glitter" },
- { EV_TRANSITION_EFFECT_FLY, "EV_TRANSITION_EFFECT_FLY", "fly" },
- { EV_TRANSITION_EFFECT_PUSH, "EV_TRANSITION_EFFECT_PUSH", "push" },
- { EV_TRANSITION_EFFECT_COVER, "EV_TRANSITION_EFFECT_COVER", "cover" },
- { EV_TRANSITION_EFFECT_UNCOVER, "EV_TRANSITION_EFFECT_UNCOVER", "uncover" },
- { EV_TRANSITION_EFFECT_FADE, "EV_TRANSITION_EFFECT_FADE", "fade" },
- { 0, NULL, NULL }
- };
-
- type = g_enum_register_static ("EvTransitionEffectType", values);
- }
-
- return type;
-}
-
-GType
-ev_transition_effect_alignment_get_type (void)
-{
- static GType type = 0;
-
- if (G_UNLIKELY (type == 0)) {
- static const GEnumValue values[] = {
- { EV_TRANSITION_ALIGNMENT_HORIZONTAL, "EV_TRANSITION_ALIGNMENT_HORIZONTAL", "horizontal" },
- { EV_TRANSITION_ALIGNMENT_VERTICAL, "EV_TRANSITION_ALIGNMENT_VERTICAL", "vertical" },
- { 0, NULL, NULL }
- };
-
- type = g_enum_register_static ("EvTransitionEffectAlignment", values);
- }
-
- return type;
-}
-
-GType
-ev_transition_effect_direction_get_type (void)
-{
- static GType type = 0;
-
- if (G_UNLIKELY (type == 0)) {
- static const GEnumValue values[] = {
- { EV_TRANSITION_DIRECTION_INWARD, "EV_TRANSITION_DIRECTION_INWARD", "inward" },
- { EV_TRANSITION_DIRECTION_OUTWARD, "EV_TRANSITION_DIRECTION_OUTWARD", "outward" },
- { 0, NULL, NULL }
- };
-
- type = g_enum_register_static ("EvTransitionEffectDirection", values);
- }
-
- return type;
-}
-
static void
ev_transition_effect_set_property (GObject *object,
guint prop_id,
* 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_TRANSITION_EFFECT_H__
#define __EV_TRANSITION_EFFECT_H__
G_BEGIN_DECLS
#define EV_TYPE_TRANSITION_EFFECT (ev_transition_effect_get_type ())
-#define EV_TYPE_TRANSITION_EFFECT_TYPE (ev_transition_effect_type_get_type ())
-#define EV_TYPE_TRANSITION_EFFECT_ALIGNMENT (ev_transition_effect_alignment_get_type ())
-#define EV_TYPE_TRANSITION_EFFECT_DIRECTION (ev_transition_effect_direction_get_type ())
#define EV_TRANSITION_EFFECT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_TRANSITION_EFFECT, EvTransitionEffect))
#define EV_TRANSITION_EFFECT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_TRANSITION_EFFECT, EvTransitionEffectClass))
#define EV_IS_TRANSITION_EFFECT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_TRANSITION_EFFECT))
GType ev_transition_effect_get_type (void) G_GNUC_CONST;
-GType ev_transition_effect_type_get_type (void) G_GNUC_CONST;
-GType ev_transition_effect_alignment_get_type (void) G_GNUC_CONST;
-GType ev_transition_effect_direction_get_type (void) G_GNUC_CONST;
EvTransitionEffect *ev_transition_effect_new (EvTransitionEffectType type,
const gchar *first_property_name,
-INCLUDES= \
- -DG_LOG_DOMAIN=\"EvView\" \
- -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
- -I$(top_srcdir)/libdocument \
- $(LIBVIEW_CFLAGS) \
- $(WARN_CFLAGS) \
- $(DISABLE_DEPRECATED)
-
lib_LTLIBRARIES = libevview.la
-libevview_la_LDFLAGS = \
- -version-info $(EV_VIEW_LT_VERSION_INFO) \
- -export-symbols-regex "^ev_*" \
- $(AM_LDFLAGS)
-
-libevview_la_LIBADD = $(LIBVIEW_LIBS)
-
NOINST_H_FILES = \
ev-pixbuf-cache.h \
ev-timeline.h \
ev-view.h \
ev-view-type-builtins.h
-headerdir = $(includedir)/evince/$(EV_API_VERSION)/ev-view
+headerdir = $(includedir)/evince/$(EV_API_VERSION)/libview
header_DATA = $(INST_H_FILES)
libevview_la_SOURCES = \
$(NOINST_H_FILES) \
$(INST_H_FILES)
+libevview_la_CPPFLAGS = \
+ -DG_LOG_DOMAIN=\"EvView\" \
+ -DGNOMELOCALEDIR=\"$(datadir)/locale\" \
+ -DEVINCE_COMPILATION \
+ -I$(top_srcdir) \
+ -I$(top_srcdir)/libdocument \
+ -I$(top_builddir) \
+ $(AM_CPPFLAGS)
+
+libevview_la_CFLAGS = \
+ $(LIBVIEW_CFLAGS) \
+ $(WARN_CFLAGS) \
+ $(DISABLE_DEPRECATED) \
+ $(AM_CFLAGS)
+
+libevview_la_LDFLAGS = \
+ -version-info $(EV_VIEW_LT_VERSION_INFO) \
+ -export-symbols-regex "^ev_*" \
+ $(AM_LDFLAGS)
+
+libevview_la_LIBADD = $(LIBVIEW_LIBS)
+
BUILT_SOURCES = \
ev-view-marshal.h \
ev-view-marshal.c \
ev-view-type-builtins.h: stamp-ev-view-type-builtins.h
@true
-stamp-ev-view-type-builtins.h: ev-view-type-builtins.h.template ev-job-scheduler.h
+stamp-ev-view-type-builtins.h: ev-view-type-builtins.h.template $(INST_H_FILES)
$(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbh \
&& (cmp -s xgen-etbh ev-view-type-builtins.h || cp xgen-etbh ev-view-type-builtins.h ) \
&& rm -f xgen-etbh \
&& echo timestamp > $(@F)
-ev-view-type-builtins.c: ev-view-type-builtins.c.template ev-job-scheduler.h
+ev-view-type-builtins.c: ev-view-type-builtins.c.template $(INST_H_FILES)
$(GLIB_MKENUMS) --template $< $(filter-out $<,$^) > xgen-etbc \
&& (cmp -s xgen-etbc ev-view-type-builtins.c || cp xgen-etbc ev-view-type-builtins.c ) \
&& rm -f xgen-etbc
ev-view-type-builtins.c.template \
ev-view-type-builtins.h.template \
ev-view-marshal.list
-
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-view.h> can be included directly."
+#endif
+
#ifndef EV_JOB_SCHEDULER_H
#define EV_JOB_SCHEDULER_H
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-view.h> can be included directly."
+#endif
+
#ifndef __EV_JOBS_H__
#define __EV_JOBS_H__
#include <gio/gio.h>
#include <gtk/gtk.h>
-#include "ev-document.h"
-#include "ev-selection.h"
-#include "ev-render-context.h"
+#include <evince-document.h>
G_BEGIN_DECLS
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-view.h> can be included directly."
+#endif
+
#ifndef __EV_PAGE_CACHE_H__
#define __EV_PAGE_CACHE_H__
#include <gtk/gtk.h>
-#include "ev-document.h"
+#include <evince-document.h>
G_BEGIN_DECLS
#define EV_TYPE_PAGE_CACHE (ev_page_cache_get_type ())
* ev-view.c from exploding.
*/
+#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-view.h> can be included directly."
+#endif
+
#ifndef __EV_PIXBUF_CACHE_H__
#define __EV_PIXBUF_CACHE_H__
#include <gtk/gtk.h>
-#include "ev-document.h"
-#include "ev-selection.h"
+#include <evince-document.h>
G_BEGIN_DECLS
* Boston, MA 02111-1307, USA.
*/
+#if !defined (EVINCE_COMPILATION)
+#error "This is a private header."
+#endif
+
#ifndef __EV_TIMELINE_H__
#define __EV_TIMELINE_H__
* Boston, MA 02111-1307, USA.
*/
+#if !defined (EVINCE_COMPILATION)
+#error "This is a private header."
+#endif
+
#ifndef __EV_TRANSITION_ANIMATION_H__
#define __EV_TRANSITION_ANIMATION_H__
+#include <evince-document.h>
#include "ev-timeline.h"
#include "ev-transition-effect.h"
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#if !defined (EVINCE_COMPILATION)
+#error "This is a private header."
+#endif
+
#ifndef __EV_VIEW_ACCESSIBLE_H__
#define __EV_VIEW_ACCESSIBLE_H__
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#if !defined (EVINCE_COMPILATION)
+#error "This is a private header."
+#endif
+
#ifndef __EV_VIEW_PRIVATE_H__
#define __EV_VIEW_PRIVATE_H__
/*** BEGIN file-header ***/
+#include <config.h>
+
#include "ev-view-type-builtins.h"
/*** END file-header ***/
/*** BEGIN file-header ***/
+#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-view.h> can be included directly."
+#endif
+
#ifndef EV_VIEW_TYPE_BUILTINS_H
#define EV_VIEW_TYPE_BUILTINS_H
#include "ev-view.h"
#include "ev-view-accessible.h"
#include "ev-view-private.h"
+#include "ev-view-type-builtins.h"
#define EV_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), EV_TYPE_VIEW, EvViewClass))
#define EV_IS_VIEW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE ((klass), EV_TYPE_VIEW))
/*** Enum description for usage in signal ***/
-GType
-ev_sizing_mode_get_type (void)
-{
- static GType etype = 0;
- if (etype == 0) {
- static const GEnumValue values[] = {
- { EV_SIZING_FIT_WIDTH, "EV_SIZING_FIT_WIDTH", "fit-width" },
- { EV_SIZING_BEST_FIT, "EV_SIZING_BEST_FIT", "best-fit" },
- { EV_SIZING_FREE, "EV_SIZING_FREE", "free" },
- { 0, NULL, NULL }
- };
- etype = g_enum_register_static ("EvSizingMode", values);
- }
- return etype;
-}
-
void
ev_view_update_view_size (EvView *view, GtkScrolledWindow * scrolled_window)
{
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
*/
+#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-view.h> can be included directly."
+#endif
+
#ifndef __EV_VIEW_H__
#define __EV_VIEW_H__
#include <gtk/gtk.h>
-#include "ev-document.h"
-#include "ev-link.h"
+#include <evince-document.h>
G_BEGIN_DECLS
#define EV_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_VIEW, EvView))
#define EV_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_VIEW))
-#define EV_TYPE_SIZING_MODE (ev_sizing_mode_get_type())
-#define EV_SIZING_MODE_CLASS (g_type_class_peek (EV_TYPE_SIZING_MODE))
-
typedef struct _EvView EvView;
typedef struct _EvViewClass EvViewClass;
} EvViewSelectionMode;
GType ev_view_get_type (void) G_GNUC_CONST;
-GType ev_sizing_mode_get_type (void) G_GNUC_CONST;
GtkWidget* ev_view_new (void);
void ev_view_set_document (EvView *view,
INCLUDES= \
-DDATADIR=\"$(pkgdatadir)\" \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
- -I$(top_srcdir)/libdocument \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
$(FRONTEND_CFLAGS) \
$(NAUTILUS_CFLAGS) \
$(DISABLE_DEPRECATED) \
libevince_properties_page_la_LIBADD = \
libevproperties.la \
- $(top_builddir)/libdocument/libevbackend.la \
+ $(top_builddir)/libdocument/libevdocument.la \
$(FRONTEND_LIBS) \
$(NAUTILUS_LIBS)
#include <libnautilus-extension/nautilus-extension-types.h>
#include <libnautilus-extension/nautilus-property-page-provider.h>
+#include <evince-document.h>
#include "ev-properties-view.h"
-#include "ev-backends-manager.h"
-#include "ev-document-factory.h"
static GType epp_type = 0;
static void property_page_provider_iface_init
#include <gtk/gtk.h>
-#include "ev-document-info.h"
+#include <evince-document.h>
G_BEGIN_DECLS
INCLUDES= \
-DDATADIR=\"$(pkgdatadir)\" \
-DGNOMEDATADIR=\"$(datadir)\" \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
-I$(top_srcdir)/cut-n-paste/zoom-control/ \
-I$(top_srcdir)/cut-n-paste/toolbar-editor/ \
-I$(top_srcdir)/cut-n-paste/totem-screensaver/ \
-I$(top_srcdir)/cut-n-paste/evmountoperation/ \
-I$(top_srcdir)/cut-n-paste/smclient/ \
-I$(top_srcdir)/libdocument \
+ -I$(top_builddir)/libdocument \
-I$(top_srcdir)/libview \
+ -I$(top_builddir)/libview \
-I$(top_srcdir)/properties \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \
+ -DEVINCE_COMPILATION \
$(SHELL_CFLAGS) \
$(WARN_CFLAGS) \
$(DISABLE_DEPRECATED)
$(top_builddir)/cut-n-paste/evmountoperation/libevmountoperation.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)
#include "ev-document-images.h"
#include "ev-document-links.h"
#include "ev-document-thumbnails.h"
+#include "ev-document-type-builtins.h"
#include "ev-file-exporter.h"
#include "ev-file-helpers.h"
#include "ev-file-monitor.h"
#include "ev-utils.h"
#include "ev-keyring.h"
#include "ev-view.h"
+#include "ev-view-type-builtins.h"
#include "ev-window.h"
#include "ev-window-title.h"
#include "ev-print-operation.h"
/* Sizing mode */
if (ev_metadata_manager_get (uri, "sizing_mode", &sizing_mode, FALSE)) {
enum_value = g_enum_get_value_by_nick
- (EV_SIZING_MODE_CLASS, g_value_get_string (&sizing_mode));
+ (g_type_class_peek (EV_TYPE_SIZING_MODE), g_value_get_string (&sizing_mode));
g_value_unset (&sizing_mode);
ev_view_set_sizing_mode (view, enum_value->value);
}
GEnumValue *enum_value;
mode = ev_view_get_sizing_mode (EV_VIEW (window->priv->view));
- enum_value = g_enum_get_value (EV_SIZING_MODE_CLASS, mode);
+ enum_value = g_enum_get_value (g_type_class_peek (EV_TYPE_SIZING_MODE), mode);
if (!ev_window_is_empty (window))
ev_metadata_manager_set_string (window->priv->uri, "sizing_mode",
@INTLTOOL_SCHEMAS_RULE@
-INCLUDES= \
+bin_PROGRAMS = evince-thumbnailer
+
+evince_thumbnailer_SOURCES = \
+ evince-thumbnailer.c
+
+evince_thumbnailer_CPPFLAGS = \
-DDATADIR=\"$(pkgdatadir)\" \
- -I$(top_srcdir)/libdocument \
+ -I$(top_srcdir) \
+ -I$(top_builddir) \
-DGNOMELOCALEDIR=\"$(datadir)/locale\" \
-DGNOMEICONDIR=\""$(datadir)/pixmaps"\" \
- $(FRONTEND_CFLAGS) \
- $(DISABLE_DEPRECATED) \
- $(WARN_CFLAGS)
+ $(AM_CPPFLAGS)
-bin_PROGRAMS=evince-thumbnailer
-
-evince_thumbnailer_SOURCES= \
- evince-thumbnailer.c
+evince_thumbnailer_CFLAGS = \
+ $(FRONTEND_CFLAGS) \
+ $(DISABLE_DEPRECATED) \
+ $(WARN_CFLAGS) \
+ $(AM_CFLAGS)
-evince_thumbnailer_LDADD= \
- $(top_builddir)/libdocument/libevbackend.la \
+evince_thumbnailer_LDADD = \
+ $(top_builddir)/libdocument/libevdocument.la \
$(FRONTEND_LIBS)
schema_files = \
#include <config.h>
-#include <ev-document.h>
-#include <ev-document-thumbnails.h>
-#include <ev-async-renderer.h>
-#include <ev-document-factory.h>
-#include <ev-backends-manager.h>
+#include <evince-document.h>
#include <gio/gio.h>