summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGlenn Rice <glennricster@gmail.com>2012-12-23 10:17:33 -0600
committerGlenn Rice <glennricster@gmail.com>2012-12-23 10:17:33 -0600
commit2a3b460cc894e86a6996c672533998a6b7617371 (patch)
treebb04fee59f0f4b385ba5b775bdca858d9363dfd0
parent05e24e872fdad27592c66dd133ce5382bf86be4d (diff)
Remove generated files from version control.
-rw-r--r--doc/doc-install.pl222
-rw-r--r--doc/doc-postprocess.pl121
-rw-r--r--doc/doxygen.css249
-rw-r--r--doc/tagfile-to-devhelp2.xsl139
-rw-r--r--poppler-glib/poppler-glibmm/wrap_init.cc132
5 files changed, 0 insertions, 863 deletions
diff --git a/doc/doc-install.pl b/doc/doc-install.pl
deleted file mode 100644
index 91d3bdc..0000000
--- a/doc/doc-install.pl
+++ /dev/null
@@ -1,222 +0,0 @@
-package main;
-
-# Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
-#
-# This file is part of mm-common.
-#
-# mm-common 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 of the License,
-# or (at your option) any later version.
-#
-# mm-common 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 mm-common. If not, see <http://www.gnu.org/licenses/>.
-
-use strict;
-use warnings;
-use bytes;
-use File::Glob qw(:glob);
-use File::Spec;
-use Getopt::Long qw(:config no_getopt_compat no_ignore_case require_order bundling);
-
-# Globals
-my $message_prefix;
-my %tags_hash;
-my $book_base;
-my $perm_mode;
-my $target_dir;
-my $target_nodir = '';
-my $expand_glob = '';
-my $verbose = '';
-
-sub path_basename ($)
-{
- my ($path) = @_;
- my $basename = File::Spec->splitpath($path);
-
- return $basename;
-}
-
-sub exit_help ()
-{
- my $script_name = path_basename($0) || 'doc-install.pl';
-
- print <<"EOF";
-Usage: perl $script_name [OPTION]... [-T] SOURCE DEST
- or: perl $script_name [OPTION]... SOURCE... DIRECTORY
- or: perl $script_name [OPTION]... -t DIRECTORY SOURCE...
-
-Copy SOURCE to DEST or multiple SOURCE files to the existing DIRECTORY,
-while setting permission modes. For HTML files, translate references to
-external documentation.
-
-Mandatory arguments to long options are mandatory for short options, too.
- --book-base=BASEPATH use reference BASEPATH for Devhelp book
- -l, --tag-base=TAGFILE\@BASEPATH use BASEPATH for references from TAGFILE
- -m, --mode=MODE override file permission MODE (octal)
- -t, --target-directory=DIRECTORY copy all SOURCE arguments into DIRECTORY
- -T, --no-target-directory treat DEST as normal file
- --glob expand SOURCE as filename glob pattern
- -v, --verbose enable informational messages
- -?, --help display this help and exit
-EOF
- exit;
-}
-
-sub notice (@)
-{
- print($message_prefix, @_, "\n") if ($verbose);
-}
-
-sub warning (@)
-{
- print STDERR ($message_prefix, @_, "\n");
-}
-
-sub error (@)
-{
- warning(@_);
- exit 1;
-}
-
-# Copy file to destination while translating references on the fly.
-# Sniff the content for the file type, as it is always read in anyway.
-sub install_file ($$$)
-{
- my ($in_name, $out_name, $basename) = @_;
- my ($in, $out, $buf);
- {
- local $/; # slurp mode: read entire file into buffer
-
- open($in, '<', $in_name) and binmode($in) and defined($buf = <$in>) and close($in)
- or error('Failed to read ', $basename, ': ', $!);
- }
-
- if (%tags_hash and $buf =~ m/\A(?> \s*)(?> (?> <[?!][^<]+ )* )<html[>\s]/sx)
- {
- my $count = 0;
- my $total = $buf =~
- s!(?<= \s) doxygen="((?> [^:"]+)):((?> [^"]*))" # doxygen="(TAGFILE):(BASEPATH)"
- (?> \s+) ((?> href|src) =") \2 ((?> [^"]*)") # (href|src=")BASEPATH(RELPATH")
- ! $3 . ((exists $tags_hash{$1}) ? (++$count, $tags_hash{$1}) : $2) . $4
- !egsx;
- my $change = $total ? "rewrote $count of $total"
- : 'no';
- notice('Translating ', $basename, ' (', $change, ' references)');
- }
- elsif (defined($book_base) and $buf =~ m/\A(?> \s*)(?> (?> <[?!][^<]+ )* )<book\s/sx)
- {
- # Substitute new value for attribute "base" of element <book>
- my $change = $buf =~ s/(<book \s [^<>]*? \b base=") (?> [^"]*) (?= ")/$1$book_base/sx
- ? 'rewrote base path'
- : 'base path not set';
- notice('Translating ', $basename, ' (', $change, ')');
- }
- else
- {
- notice('Copying ', $basename);
- }
-
- # Avoid inheriting permissions of existing file
- unlink($out_name);
-
- open($out, '>', $out_name) and binmode($out) and print $out ($buf) and close($out)
- or error('Failed to write ', $basename, ': ', $!);
-
- chmod($perm_mode, $out_name)
- or warning('Failed to set ', $basename, ' permissions: ', $!);
-}
-
-# Split TAGFILE@BASEPATH argument into key/value pair
-sub split_key_value ($)
-{
- my ($mapping) = @_;
- my ($name, $path) = split(m'@', $mapping, 2);
-
- error('Invalid base path mapping: ', $mapping) unless (defined($name) and $name ne '');
-
- if (defined $path)
- {
- notice('Using base path ', $path, ' for tag file ', $name);
- return ($name, $path);
- }
- notice('Not changing base path for tag file ', $name);
- return ();
-}
-
-# Define line leader of log messages
-$message_prefix = path_basename($0);
-$message_prefix =~ s/\.[^.]*$//s if (defined $message_prefix);
-$message_prefix = ($message_prefix || 'doc-install') . ': ';
-
-# Process command-line options
-{
- my @tags = ();
- my $mode = '0644';
-
- GetOptions('book-base=s' => \$book_base,
- 'tag-base|l=s' => \@tags,
- 'mode|m=s' => \$mode,
- 'target-directory|t=s' => \$target_dir,
- 'no-target-directory|T' => \$target_nodir,
- 'glob' => \$expand_glob,
- 'verbose|v' => \$verbose,
- 'help|?' => \&exit_help)
- or exit 2;
-
- error('Invalid permission mode: ', $mode) unless ($mode =~ m/^[0-7]+$/s);
-
- $perm_mode = oct($mode);
- %tags_hash = map(split_key_value($_), @tags);
-}
-notice('Using base path ', $book_base, ' for Devhelp book') if (defined $book_base);
-
-if ($target_nodir)
-{
- error('Conflicting target directory options') if (defined $target_dir);
- error('Source and destination filenames expected') unless ($#ARGV == 1);
- error('Filename globbing requires target directory') if ($expand_glob);
-
- install_file($ARGV[0], $ARGV[1], path_basename($ARGV[1]));
- exit;
-}
-
-unless (defined $target_dir)
-{
- if (!$expand_glob and $#ARGV == 1)
- {
- my $basename = path_basename($ARGV[1]);
-
- if (defined($basename) and $basename ne '')
- {
- install_file($ARGV[0], $ARGV[1], $basename);
- exit;
- }
- }
- $target_dir = pop(@ARGV);
-}
-error('No target directory specified') unless (defined($target_dir) and $target_dir ne '');
-
-@ARGV = map(bsd_glob($_, GLOB_NOSORT), @ARGV) if ($expand_glob);
-my %basename_hash = ();
-
-foreach my $in_name (@ARGV)
-{
- my $basename = path_basename($in_name);
-
- # If there are multiple files with the same base name in the list, only
- # the first one will be installed. This behavior makes it very easy to
- # implement a VPATH search for each individual file.
- unless (exists $basename_hash{$basename})
- {
- $basename_hash{$basename} = undef;
- my $out_name = File::Spec->catfile($target_dir, $basename);
- install_file($in_name, $out_name, $basename);
- }
-}
-exit;
diff --git a/doc/doc-postprocess.pl b/doc/doc-postprocess.pl
deleted file mode 100644
index 2fbea7c..0000000
--- a/doc/doc-postprocess.pl
+++ /dev/null
@@ -1,121 +0,0 @@
-package main;
-
-# Copyright (c) 2009 Openismus GmbH <http://www.openismus.com/>
-#
-# This file is part of mm-common.
-#
-# mm-common 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 of the License,
-# or (at your option) any later version.
-#
-# mm-common 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 mm-common. If not, see <http://www.gnu.org/licenses/>.
-
-use strict;
-use warnings;
-use bytes;
-use File::Glob qw(:glob);
-use File::Spec;
-use Getopt::Long qw(:config no_getopt_compat no_ignore_case require_order bundling);
-
-sub path_basename ($)
-{
- my ($path) = @_;
- my $basename = File::Spec->splitpath($path);
-
- return $basename;
-}
-
-sub exit_help ()
-{
- my $script_name = path_basename($0) || 'doc-postprocess.pl';
-
- print <<"EOF";
-Usage: perl $script_name [OPTION]... [PATTERN]...
-
-Post-process the Doxygen-generated HTML files matching PATTERN.
-
-Options:
- -?, --help display this help and exit
-EOF
- exit;
-}
-
-sub error (@)
-{
- my $script_name = path_basename($0);
- $script_name =~ s/\.[^.]*$//s if (defined $script_name);
-
- print STDERR ($script_name || 'doc-postprocess', ': ', @_, "\n");
- exit 1;
-}
-
-GetOptions('help|?' => \&exit_help)
- or exit 2;
-
-foreach my $filename (map(bsd_glob($_, GLOB_NOSORT), @ARGV))
-{
- my @buf;
- my $file;
-
- open($file, '<', $filename) and (@buf = <$file>) and close($file)
- or error('Failed to read ', path_basename($filename), ': ', $!);
-
- foreach (@buf)
- {
- if (/<a class="el"/)
- {
- # return value
- s/ &amp;&nbsp; */&amp;&#160;/;
- s/ \*&nbsp; */*&#160;/;
-
- # parameters
- s/ &amp;/&amp;/g;
- s/&amp;\b/&amp; /g;
- s/ \*/*/g;
- s/\*\b/* /g;
-
- # templates
- s/\btemplate&lt;/template &lt;/;
- }
- elsif (/<td class="md(?:name)?"/)
- {
- # left parenthesis
- s/\(&nbsp; */(/;
-
- # return value
- s/ &amp; /&amp; /g;
- s/ \* /* /g;
-
- # parameters
- s/ &amp;&nbsp; */&amp;&#160;/g;
- s/ \*&nbsp; */*&#160;/g;
-
- # templates
- s/\btemplate&lt;/template &lt;/;
- }
- else
- {
- # template decls
- s/^(<h\d>|)template&lt;/$1template &lt;/;
- }
-
- s/&copy;/&#169;/g;
- s/&mdash;/&#8212;/g;
- s/&ndash;/&#8211;/g;
- s/ *&nbsp; */&#160;/g;
- s/(?<=\S)\s{2,}/ /g;
- }
-
- # write the whole buffer back
- open($file, '>', $filename) and print $file (@buf) and close($file)
- or error('Failed to write ', path_basename($filename), ': ', $!);
-}
-
-exit;
diff --git a/doc/doxygen.css b/doc/doxygen.css
deleted file mode 100644
index 3e7b3f6..0000000
--- a/doc/doxygen.css
+++ /dev/null
@@ -1,249 +0,0 @@
-/* GNOME C++ bindings Doxygen style */
-
-html, body {
- background: #FFFFFF;
- color: #222222;
- margin: 0;
-}
-
-body {
- font: normal 90%/150% sans-serif;
- padding: 1.5em;
- min-width: 28em;
-}
-
-table {
- font-size: inherit;
-}
-
-img {
- border-style: none;
-}
-
-address img {
- vertical-align: middle;
-}
-
-h1 {
- font-size: 150%;
- line-height: 120%;
- text-align: center;
-}
-
-h2 {
- font-size: 120%;
-}
-
-h3 {
- font-size: 100%;
-}
-
-h1 + h3 {
- text-align: center;
-}
-
-.navpath {
- display: none;
-}
-
-caption {
- font-weight: bold;
-}
-
-p, dl {
- margin: 0.75em 0;
-}
-
-.center {
- text-align: center;
-}
-
-div.qindex {
- width: 100%;
- line-height: 140%;
- background-color: #E8EEF2;
- border: 1px solid #84B0C7;
- text-align: center;
- margin: 0.2em;
- padding: 0.2em;
-}
-
-a {
- color: #153788;
- font-weight: normal;
- text-decoration: none;
-}
-
-.contents a:visited {
- color: #1B77C5;
-}
-
-a:hover {
- text-decoration: underline;
-}
-
-a.el, a.qindex {
- font-weight: bold;
-}
-
-dl.el {
- margin-left: -1.5em;
-}
-
-code, .fragment {
- font-family: monospace, fixed;
-}
-
-pre.fragment {
- background-color: #EEEEFF;
- border: 1px solid #AAAAFF;
- padding: 0.5em;
- margin: 0.375em 0.75em 0.375em 0.2em;
-}
-
-div.ah {
- background-color: #000000;
- color: #FFFFFF;
- font-weight: bold;
- margin: 0.2em 0;
-}
-
-.indexkey, .indexvalue {
- background-color: #E8EEF2;
- border: 1px solid #CCCCCC;
- margin: 0.2em 0;
- padding: 0.2em 0.75em;
-}
-
-.indexkey {
- font-weight: bold;
-}
-.memlist {
- background-color: #F0F0F0;
-}
-
-span.keyword {
- color: #008000;
-}
-
-span.keywordtype {
- color: #604020;
-}
-
-span.keywordflow {
- color: #E08000;
-}
-
-span.comment {
- color: #800000;
-}
-
-span.preprocessor {
- color: #806020;
-}
-
-span.stringliteral {
- color: #002080;
-}
-
-span.charliteral {
- color: #008080;
-}
-
-.tiny {
- font-size: 80%;
-}
-
-hr {
- height: 0;
- border: none;
- border-top: 1px solid #666666;
-}
-
-.mdescLeft, .mdescRight, .memItemLeft, .memItemRight,
-.memTemplItemLeft, .memTemplItemRight, .memTemplParams {
- background-color: #FAFAFA;
- border: none;
- margin: 0.375em;
- padding: 0.125em 0 0 0.75em;
-}
-
-.mdescLeft, .mdescRight {
- padding: 0 0.75em 0.375em;
- color: #555555;
-}
-
-.memItemLeft, .memItemRight, .memTemplParams {
- border-top: 1px solid #CCCCCC;
-}
-
-.memTemplParams {
- color: #606060;
-}
-
-.memtemplate {
- color: #606060;
- font-size: 90%;
- font-weight: normal;
- margin-left: 0.2em;
-}
-
-.memnav {
- background-color: #E8EEF2;
- border: 1px solid #84B0C7;
- text-align: center;
- margin: 0.2em 1em 0.2em 0;
- padding: 0.2em;
-}
-
-.memitem {
- margin: 0.5em 0;
- padding: 0;
-}
-
-.memname {
- white-space: nowrap;
- font-weight: bold;
- line-height: 120%;
-}
-
-.memproto, .memdoc {
- border: 1px solid #84B0C7;
-}
-
-.memproto {
- padding: 0;
- background-color: #D5E1E8;
- font-weight: bold;
- -webkit-border-top-left-radius: 1ex;
- -webkit-border-top-right-radius: 1ex;
- -moz-border-radius-topleft: 1ex;
- -moz-border-radius-topright: 1ex;
-}
-
-.memdoc {
- padding: 0.2em 0.5em;
- background-color: #EEF3F5;
- border-top-width: 0;
- -webkit-border-bottom-left-radius: 1ex;
- -webkit-border-bottom-right-radius: 1ex;
- -moz-border-radius-bottomleft: 1ex;
- -moz-border-radius-bottomright: 1ex;
-}
-
-.paramkey {
- text-align: right;
-}
-
-.paramtype {
- white-space: nowrap;
-}
-
-.paramname {
- color: #602020;
- white-space: nowrap;
-}
-
-.paramname em {
- font-style: normal;
-}
diff --git a/doc/tagfile-to-devhelp2.xsl b/doc/tagfile-to-devhelp2.xsl
deleted file mode 100644
index 35b129c..0000000
--- a/doc/tagfile-to-devhelp2.xsl
+++ /dev/null
@@ -1,139 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<xsl:stylesheet version="1.0" xmlns="http://www.devhelp.net/book"
- xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
- <!--
- Copyright (c) 2009 Daniel Elstner <daniel.kitta@gmail.com>
-
- XSL transformation from a Doxygen tag file to DevHelp 2 format.
-
- This script 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 of the License,
- or (at your option) any later version.
-
- This script 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 script. If not, see <http://www.gnu.org/licenses/>.
- -->
- <xsl:strip-space elements="*"/>
- <xsl:output method="xml" version="1.0" indent="yes" encoding="UTF-8"/>
-
- <xsl:param name="book_title"/>
- <xsl:param name="book_name"/>
- <xsl:param name="book_base"/>
-
- <!-- Define keys to filter compounds that are members of other compounds -->
- <xsl:key name="nested-group" match="compound[@kind='group']" use="subgroup"/>
- <xsl:key name="nested-scope" match="compound[@kind='namespace']" use="namespace|class"/>
- <xsl:key name="nested-scope" match="compound[@kind='class' or @kind='struct' or @kind='union']"
- use="class"/>
-
- <xsl:template match="/">
- <book title="{$book_title}" name="{$book_name}" base="{$book_base}"
- link="index.html" version="2" language="c++">
- <chapters>
- <xsl:variable name="modules" select="tagfile/compound[@kind='group']"/>
- <xsl:if test="$modules">
- <sub name="Modules" link="modules.html">
- <!-- Select the top-level group compounds -->
- <xsl:apply-templates select="$modules[not(key('nested-group', name))]"
- mode="module-list">
- <xsl:sort lang="en" select="title"/>
- </xsl:apply-templates>
- </sub>
- </xsl:if>
- <xsl:variable name="namespaces" select="tagfile/compound[@kind='namespace']"/>
- <xsl:if test="$namespaces">
- <sub name="Namespaces" link="namespaces.html">
- <!-- Generate a flat list of fully qualified namespaces -->
- <xsl:for-each select="$namespaces">
- <xsl:sort lang="en" case-order="upper-first" select="name"/>
- <sub name="{name}" link="{filename}"/>
- </xsl:for-each>
- </sub>
- </xsl:if>
- <xsl:if test="tagfile/compound[@kind='class' or @kind='struct' or @kind='union']">
- <sub name="Classes" link="classes.html">
- <!-- Select the top-level C++ compounds -->
- <xsl:apply-templates select="tagfile/compound[not(key('nested-scope', name))]"
- mode="class-list">
- <xsl:sort lang="en" case-order="upper-first" select="name"/>
- </xsl:apply-templates>
- </sub>
- </xsl:if>
- </chapters>
- <functions>
- <xsl:apply-templates select="tagfile/compound" mode="keyword-list"/>
- </functions>
- </book>
- </xsl:template>
-
- <xsl:template match="compound" mode="module-list">
- <xsl:variable name="children" select="subgroup"/>
- <sub name="{title}" link="{filename}">
- <!-- Select any subgroup compounds by name -->
- <xsl:apply-templates select="../compound[@kind='group' and name=$children]"
- mode="module-list">
- <xsl:sort lang="en" select="title"/>
- </xsl:apply-templates>
- </sub>
- </xsl:template>
-
- <xsl:template match="compound[@kind='namespace' or @kind='class' or @kind='struct' or @kind='union']"
- mode="class-list">
- <!-- The scope prefix to strip from the name -->
- <xsl:param name="scope"/>
- <xsl:variable name="fullname" select="name"/>
- <xsl:variable name="children" select="namespace|class"/>
- <sub name="{substring-after($fullname, $scope)}" link="{filename}">
- <!-- Select any nested C++ compounds by name -->
- <xsl:apply-templates select="../compound[name=$children]" mode="class-list">
- <xsl:sort lang="en" case-order="upper-first" select="name"/>
- <xsl:with-param name="scope" select="concat($fullname, '::')"/>
- </xsl:apply-templates>
- </sub>
- </xsl:template>
- <!-- Ignore any other kind of compound -->
- <xsl:template match="*" mode="class-list"/>
-
- <xsl:template match="compound[@kind='namespace']" mode="keyword-list">
- <!-- Process members, but do not list the namespace itself as a keyword -->
- <xsl:apply-templates select="member" mode="keyword-list"/>
- </xsl:template>
- <xsl:template match="compound[@kind='class' or @kind='struct' or @kind='union']"
- mode="keyword-list">
- <!-- List the compound type itself as a keyword and process its members -->
- <keyword type="struct" name="{name}" link="{filename}"/>
- <xsl:apply-templates select="member" mode="keyword-list"/>
- </xsl:template>
- <!-- Match leaf compound members -->
- <xsl:template match="member[@kind='typedef']" mode="keyword-list">
- <keyword type="typedef" xsl:use-attribute-sets="keyword-member"/>
- </xsl:template>
- <xsl:template match="member[@kind='function' or @kind='friend']" mode="keyword-list">
- <keyword type="function" xsl:use-attribute-sets="keyword-member"/>
- </xsl:template>
- <xsl:template match="member[@kind='enumeration']" mode="keyword-list">
- <keyword type="enum" xsl:use-attribute-sets="keyword-member"/>
- </xsl:template>
- <xsl:template match="member[@kind='enumvalue' or @kind='define']" mode="keyword-list">
- <keyword type="macro" xsl:use-attribute-sets="keyword-member"/>
- </xsl:template>
- <!-- Ignore unknown keyword types -->
- <xsl:template match="*" mode="keyword-list"/>
-
- <!-- Qualify member name and link anchor -->
- <xsl:attribute-set name="keyword-member">
- <xsl:attribute name="name">
- <xsl:value-of select="concat(../name, '::', name)"/>
- </xsl:attribute>
- <xsl:attribute name="link">
- <xsl:value-of select="concat(anchorfile, '#', anchor)"/>
- </xsl:attribute>
- </xsl:attribute-set>
-
-</xsl:stylesheet>
diff --git a/poppler-glib/poppler-glibmm/wrap_init.cc b/poppler-glib/poppler-glibmm/wrap_init.cc
deleted file mode 100644
index d11fe3c..0000000
--- a/poppler-glib/poppler-glibmm/wrap_init.cc
+++ /dev/null
@@ -1,132 +0,0 @@
-// Generated by generate_wrap_init.pl -- DO NOT MODIFY!
-
-#include <glibmm.h>
-
-// Disable the 'const' function attribute of the get_type() functions.
-// GCC would optimize them out because we don't use the return value.
-#undef G_GNUC_CONST
-#define G_GNUC_CONST /* empty */
-
-#include <poppler-glibmm/wrap_init.h>
-#include <glibmm/error.h>
-#include <glibmm/object.h>
-
-// #include the widget headers so that we can call the get_type() static methods:
-#include "action.h"
-#include "annot.h"
-#include "annot_callout_line.h"
-#include "annot_mapping.h"
-#include "attachment.h"
-#include "color.h"
-#include "document.h"
-#include "error.h"
-#include "font_info.h"
-#include "fonts_iter.h"
-#include "form_field.h"
-#include "form_field_mapping.h"
-#include "image_mapping.h"
-#include "index_iter.h"
-#include "layer.h"
-#include "layers_iter.h"
-#include "link_mapping.h"
-#include "media.h"
-#include "movie.h"
-#include "page.h"
-#include "page_transition.h"
-#include "ps_file.h"
-#include "rectangle.h"
-#include "text_attributes.h"
-#include "utility.h"
-
-extern "C"
-{
-//Declarations of the *_get_type() functions:
-
-GType poppler_annot_get_type(void);
-GType poppler_annot_markup_get_type(void);
-GType poppler_annot_text_get_type(void);
-GType poppler_annot_free_text_get_type(void);
-GType poppler_annot_file_attachment_get_type(void);
-GType poppler_annot_movie_get_type(void);
-GType poppler_annot_screen_get_type(void);
-GType poppler_attachment_get_type(void);
-GType poppler_document_get_type(void);
-GType poppler_font_info_get_type(void);
-GType poppler_form_field_get_type(void);
-GType poppler_layer_get_type(void);
-GType poppler_media_get_type(void);
-GType poppler_movie_get_type(void);
-GType poppler_page_get_type(void);
-GType poppler_ps_file_get_type(void);
-
-//Declarations of the *_error_quark() functions:
-
-GQuark poppler_error_quark(void);
-} // extern "C"
-
-namespace Poppler {
-
-//Declarations of the *_Class::wrap_new() methods, instead of including all the private headers:
-
-class Annot_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class AnnotMarkup_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class AnnotText_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class AnnotFreeText_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class AnnotFileAttachment_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class AnnotMovie_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class AnnotScreen_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class Attachment_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class Document_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class FontInfo_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class FormField_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class Layer_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class Media_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class Movie_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class Page_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-class PSFile_Class { public: static Glib::ObjectBase* wrap_new(GObject*); };
-
-void wrap_init()
-{
- // Register Error domains in the main namespace:
- Glib::Error::register_domain(poppler_error_quark(), &Error::throw_func);
-
- // Map gtypes to gtkmm wrapper-creation functions:
- Glib::wrap_register(poppler_annot_get_type(), &Annot_Class::wrap_new);
- Glib::wrap_register(poppler_annot_markup_get_type(), &AnnotMarkup_Class::wrap_new);
- Glib::wrap_register(poppler_annot_text_get_type(), &AnnotText_Class::wrap_new);
- Glib::wrap_register(poppler_annot_free_text_get_type(), &AnnotFreeText_Class::wrap_new);
- Glib::wrap_register(poppler_annot_file_attachment_get_type(), &AnnotFileAttachment_Class::wrap_new);
- Glib::wrap_register(poppler_annot_movie_get_type(), &AnnotMovie_Class::wrap_new);
- Glib::wrap_register(poppler_annot_screen_get_type(), &AnnotScreen_Class::wrap_new);
- Glib::wrap_register(poppler_attachment_get_type(), &Attachment_Class::wrap_new);
- Glib::wrap_register(poppler_document_get_type(), &Document_Class::wrap_new);
- Glib::wrap_register(poppler_font_info_get_type(), &FontInfo_Class::wrap_new);
- Glib::wrap_register(poppler_form_field_get_type(), &FormField_Class::wrap_new);
- Glib::wrap_register(poppler_layer_get_type(), &Layer_Class::wrap_new);
- Glib::wrap_register(poppler_media_get_type(), &Media_Class::wrap_new);
- Glib::wrap_register(poppler_movie_get_type(), &Movie_Class::wrap_new);
- Glib::wrap_register(poppler_page_get_type(), &Page_Class::wrap_new);
- Glib::wrap_register(poppler_ps_file_get_type(), &PSFile_Class::wrap_new);
-
- // Register the gtkmm gtypes:
- Annot::get_type();
- AnnotMarkup::get_type();
- AnnotText::get_type();
- AnnotFreeText::get_type();
- AnnotFileAttachment::get_type();
- AnnotMovie::get_type();
- AnnotScreen::get_type();
- Attachment::get_type();
- Document::get_type();
- FontInfo::get_type();
- FormField::get_type();
- Layer::get_type();
- Media::get_type();
- Movie::get_type();
- Page::get_type();
- PSFile::get_type();
-
-} // wrap_init()
-
-} // Poppler
-