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