2 * Ghostscript widget for GTK/GNOME
4 * Copyright 1998 - 2005 The Free Software Foundation
6 * Authors: Jaka Mocnik, Federico Mena (Quartic), Szekeres Istvan (Pista)
8 * This library is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU Library General Public
10 * License as published by the Free Software Foundation; either
11 * version 2 of the License, or (at your option) any later version.
13 * This library is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
16 * Library General Public License for more details.
18 * You should have received a copy of the GNU Library General Public
19 * License along with this library; if not, write to the
20 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
21 * Boston, MA 02111-1307, USA.
24 #ifndef __PS_DOCUMENT_H__
25 #define __PS_DOCUMENT_H__
27 #include <glib-object.h>
29 #include "ev-document.h"
33 #define PS_TYPE_DOCUMENT (ps_document_get_type())
34 #define PS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), PS_TYPE_DOCUMENT, PSDocument))
35 #define PS_DOCUMENT_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST ((klass), PS_TYPE_DOCUMENT, PSDocumentClass))
36 #define PS_IS_DOCUMENT(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), PS_TYPE_DOCUMENT))
37 #define PS_DOCUMENT_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), PS_TYPE_DOCUMENT, PSDocumentClass))
39 typedef struct _PSDocument PSDocument;
40 typedef struct _PSDocumentClass PSDocumentClass;
42 GType ps_document_get_type (void) G_GNUC_CONST;
44 G_MODULE_EXPORT GType register_evince_backend (GTypeModule *module);
48 #endif /* __PS_DOCUMENT_H__ */