diff options
author | Carlos Garcia Campos <carlosgc@gnome.org> | 2007-12-20 10:12:49 (GMT) |
---|---|---|
committer | Carlos Garcia Campos <carlosgc@src.gnome.org> | 2007-12-20 10:12:49 (GMT) |
commit | 945efc9392d4c4b5d6a211ed4ccac376bf8c3066 (patch) | |
tree | 497610d7dcad3b409d072946102d0847e3e81692 /backend/ps/ev-spectre.h | |
parent | b4238df29948d1cbc04dd6fb78bbd0f13f172690 (diff) |
Use libspectre, if available, for the ps backend. Fixes bugs #317106,
2007-12-20 Carlos Garcia Campos <carlosgc@gnome.org>
* configure.ac:
* backend/ps/Makefile.am:
* backend/ps/ev-spectre.[ch]:
Use libspectre, if available, for the ps backend. Fixes bugs
#317106, #499787, #501235, #421879, #445797, #443859 and #486547.
svn path=/trunk/; revision=2774
Diffstat (limited to 'backend/ps/ev-spectre.h')
-rw-r--r-- | backend/ps/ev-spectre.h | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/backend/ps/ev-spectre.h b/backend/ps/ev-spectre.h new file mode 100644 index 0000000..fb00f9f --- /dev/null +++ b/backend/ps/ev-spectre.h @@ -0,0 +1,46 @@ +/* + * Ghostscript widget for GTK/GNOME + * + * Copyright 1998 - 2005 The Free Software Foundation + * + * Authors: Jaka Mocnik, Federico Mena (Quartic), Szekeres Istvan (Pista) + * + * This library is free software; you can redistribute it and/or + * modify it under the terms of the GNU Library General Public + * License as published by the Free Software Foundation; either + * version 2 of the License, or (at your option) any later version. + * + * This library 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 + * Library General Public License for more details. + * + * You should have received a copy of the GNU Library General Public + * License along with this library; if not, write to the + * Free Software Foundation, Inc., 59 Temple Place - Suite 330, + * Boston, MA 02111-1307, USA. + */ + +#ifndef __PS_DOCUMENT_H__ +#define __PS_DOCUMENT_H__ + +#include <glib-object.h> + +#include "ev-document.h" + +G_BEGIN_DECLS + +#define PS_TYPE_DOCUMENT (ps_document_get_type()) +#define PS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PS_TYPE_DOCUMENT, PSDocument)) +#define PS_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PS_TYPE_DOCUMENT, PSDocumentClass)) +#define PS_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PS_TYPE_DOCUMENT)) +#define PS_DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PS_TYPE_DOCUMENT, PSDocumentClass)) + +typedef struct _PSDocument PSDocument; +typedef struct _PSDocumentClass PSDocumentClass; + +GType ps_document_get_type (void) G_GNUC_CONST; + +G_END_DECLS + +#endif /* __PS_DOCUMENT_H__ */ |