]> www.fi.muni.cz Git - evince.git/blobdiff - shell/ev-dualscreen.h
[shell] fix Issues #2 #3 #4
[evince.git] / shell / ev-dualscreen.h
index 643a21e76f5d443dda0f8370c5f7ce0673abc55d..77b55ec5de59f4349c141b5a72067514d5f7bc13 100644 (file)
@@ -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 <buchner.johannes@gmx.at>
+ *    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
 #ifndef EV_DUALSCREEN_H
 #define EV_DUALSCREEN_H
 
-/*#include <gtk/gtk.h>
-#include <glib.h>
-#include <glib/gi18n.h>
-#include "ev-window.h"
-#include "ev-document.h"*/
 #include "ev-window.h"
+#include "ev-view-presentation.h"
+#include "ev-metadata.h"
 
 G_BEGIN_DECLS
 
@@ -40,20 +42,22 @@ 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      *ev_dscwindow,
-                                               EvWindow        *presentation_window,
-                                               EvDocument      *document);
+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