]> www.fi.muni.cz Git - evince.git/blob - shell/ev-dualscreen.h
[dualscreen] licence fix
[evince.git] / shell / ev-dualscreen.h
1 /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */
2 /* this file is part of evince, a gnome document viewer
3  *
4  *  Copyright (C) 2007 Johannes Buchner
5  *
6  *  Author:
7  *    Johannes Buchner <buchner.johannes@gmx.at>
8  *    Lukas Bezdicka <255993@mail.muni.cz>
9  *
10  * Evince is free software; you can redistribute it and/or modify it
11  * under the terms of the GNU General Public License as published by
12  * the Free Software Foundation; either version 2 of the License, or
13  * (at your option) any later version.
14  *
15  * Evince is distributed in the hope that it will be useful, but
16  * WITHOUT ANY WARRANTY; without even the implied warranty of
17  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
18  * General Public License for more details.
19  *
20  * You should have received a copy of the GNU General Public License
21  * along with this program; if not, write to the Free Software
22  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
23  */
24
25 #ifndef EV_DUALSCREEN_H
26 #define EV_DUALSCREEN_H
27
28 #include "ev-window.h"
29 #include "ev-view-presentation.h"
30
31 G_BEGIN_DECLS
32
33 typedef struct _EvDSCWindow EvDSCWindow;
34 typedef struct _EvDSCWindowClass EvDSCWindowClass;
35 typedef struct _EvDSCWindowPrivate EvDSCWindowPrivate;
36
37 #define EV_TYPE_DSCWINDOW               (ev_dscwindow_get_type())
38 #define EV_DSCWINDOW(object)            (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_DSCWINDOW, EvDSCWindow))
39 #define EV_DSCWINDOW_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_DSCWINDOW, EvDSCWindowClass))
40 #define EV_IS_DSCWINDOW(object)         (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_DSCWINDOW))
41 #define EV_IS_DSCWINDOW_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_DSCWINDOW))
42 #define EV_DSCWINDOW_GET_CLASS(object)  (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_DSCWINDOW, EvDSCWindowClass))
43
44 struct _EvDSCWindow {
45         GtkWindow               base_instance;
46         EvDSCWindowPrivate      *priv;
47 };
48
49 struct _EvDSCWindowClass {
50         GtkWindowClass base_class;
51 };
52
53 GType           ev_dscwindow_get_type   (void);
54 GtkWidget      *ev_dscwindow_new (void);
55 void            ev_dscwindow_set_presentation (EvDSCWindow              *ev_dscwindow,
56                                                 EvWindow                *presentation_window,
57                                                 EvDocument              *document,
58                                                 EvViewPresentation      *pview);
59 EvDSCWindow*    ev_dscwindow_get_control (void);
60
61 G_END_DECLS
62
63 #endif /* EV_DUALSCREEN_H */