X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-dualscreen.h;h=77b55ec5de59f4349c141b5a72067514d5f7bc13;hb=68540f68316d14931fb5b895270e5b7b7aad1bed;hp=c884f58932341502d28afb7140cc2fc173ea54b0;hpb=dd1329596e725e96f991d9d0c1944ff0887f561a;p=evince.git diff --git a/shell/ev-dualscreen.h b/shell/ev-dualscreen.h index c884f589..77b55ec5 100644 --- a/shell/ev-dualscreen.h +++ b/shell/ev-dualscreen.h @@ -1,6 +1,11 @@ /* -*- Mode: C; tab-width: 8; indent-tabs-mode: t; c-basic-offset: 8; c-indent-level: 8 -*- */ /* this file is part of evince, a gnome document viewer * + * Copyright (C) 2007 Johannes Buchner + * + * Author: + * Johannes Buchner + * Lukas Bezdicka <255993@mail.muni.cz> * * Evince is free software; you can redistribute it and/or modify it * under the terms of the GNU General Public License as published by @@ -20,11 +25,9 @@ #ifndef EV_DUALSCREEN_H #define EV_DUALSCREEN_H -/*#include -#include -#include #include "ev-window.h" -#include "ev-document.h"*/ +#include "ev-view-presentation.h" +#include "ev-metadata.h" G_BEGIN_DECLS @@ -39,21 +42,23 @@ typedef struct _EvDSCWindowPrivate EvDSCWindowPrivate; #define EV_IS_DSCWINDOW_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), EV_TYPE_DSCWINDOW)) #define EV_DSCWINDOW_GET_CLASS(object) (G_TYPE_INSTANCE_GET_CLASS((object), EV_TYPE_DSCWINDOW, EvDSCWindowClass)) -struct _EvDSCWindow { - GtkWindow base_instance; - EvDSCWindowPrivate *priv; +struct _EvDSCWindowClass { + GtkWindowClass base_class; }; -struct _EvDSCWindowClass { - GtkWindowClass base_class; +struct _EvDSCWindow { + GtkWindow base_instance; + EvDSCWindowPrivate *priv; }; GType ev_dscwindow_get_type (void); GtkWidget *ev_dscwindow_new (void); -/*void ev_dscwindow_set_presentation (EvDSCWindow * self, - EvWindow *presentation_window, - EvDocument *document); -EvDSCWindow* ev_dscwindow_get_control (void);*/ +void ev_dscwindow_set_presentation (EvDSCWindow *ev_dscwindow, + EvWindow *presentation_window, + EvDocument *document, + EvViewPresentation *pview, + EvMetadata *metadata); +EvDSCWindow* ev_dscwindow_get_control (void); G_END_DECLS