]> www.fi.muni.cz Git - evince.git/blob - shell/ev-dualscreen.h
[dualscreen] beta pageswitch [shell] todo change run_presentation [presentation]...
[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 <gtk/gtk.h>
24 #include <glib.h>
25 #include <glib/gi18n.h>
26 #include "ev-window.h"
27 #include "ev-document.h"*/
28 #include "ev-window.h"
29
30 G_BEGIN_DECLS
31
32 typedef struct _EvDSCWindow EvDSCWindow;
33 typedef struct _EvDSCWindowClass EvDSCWindowClass;
34 typedef struct _EvDSCWindowPrivate EvDSCWindowPrivate;
35
36 #define EV_TYPE_DSCWINDOW               (ev_dscwindow_get_type())
37 #define EV_DSCWINDOW(object)            (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_DSCWINDOW, EvDSCWindow))
38 #define EV_DSCWINDOW_CLASS(klass)       (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_DSCWINDOW, EvDSCWindowClass))
39 #define EV_IS_DSCWINDOW(object)         (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_DSCWINDOW))
40 #define EV_IS_DSCWINDOW_CLASS(klass)    (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_DSCWINDOW))
41 #define EV_DSCWINDOW_GET_CLASS(object)  (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_DSCWINDOW, EvDSCWindowClass))
42
43 struct _EvDSCWindow {
44         GtkWindow               base_instance;
45         EvDSCWindowPrivate      *priv;
46 };
47
48 struct _EvDSCWindowClass {
49         GtkWindowClass base_class;
50 };
51
52 GType           ev_dscwindow_get_type   (void);
53 GtkWidget      *ev_dscwindow_new (void);
54 void            ev_dscwindow_set_presentation (EvDSCWindow      *ev_dscwindow,
55                                                 EvWindow        *presentation_window,
56                                                 EvDocument      *document,
57                                                 GtkWidget       *pview);
58 EvDSCWindow*    ev_dscwindow_get_control (void);
59
60 G_END_DECLS
61
62 #endif /* EV_DUALSCREEN_H */