]> www.fi.muni.cz Git - evince.git/blob - backend/ps/gstypes.h
Reorganize source tree.
[evince.git] / backend / ps / gstypes.h
1 /*
2  * Ghostscript widget for GTK/GNOME
3  * 
4  * Copyright 1998 - 2005 The Free Software Foundation
5  * 
6  * Authors: Jaka Mocnik, Federico Mena (Quartic), Szekeres Istvan (Pista)
7  *
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.
12  *
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.
17  *
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.
22  */
23
24 #ifndef __GSTYPES_H__
25 #define __GSTYPES_H__
26
27 #include <glib.h>
28
29 G_BEGIN_DECLS
30
31 typedef struct _GtkGSPaperSize GtkGSPaperSize;
32
33 typedef enum {
34   GTK_GS_ORIENTATION_NONE = -1,
35   GTK_GS_ORIENTATION_PORTRAIT = 0,
36   GTK_GS_ORIENTATION_SEASCAPE = 3,
37   GTK_GS_ORIENTATION_UPSIDEDOWN = 2,
38   GTK_GS_ORIENTATION_LANDSCAPE = 1
39 } GtkGSOrientation;
40
41 struct _GtkGSPaperSize {
42   gchar *name;
43   gint width, height;
44 };
45
46 G_END_DECLS
47
48 #endif /* __GSTYPES_H__ */