]> www.fi.muni.cz Git - evince.git/commitdiff
[shell] initial dualscreen support
authorLukáš Bezdička <255993@mail.muni.cz>
Mon, 4 Apr 2011 19:17:17 +0000 (21:17 +0200)
committerJan "Yenya" Kasprzak <kas@fi.muni.cz>
Wed, 1 Jun 2011 11:09:20 +0000 (13:09 +0200)
po/POTFILES.in
shell/Makefile.am
shell/ev-dualscreen.h [new file with mode: 0644]

index d0893a4809ceb510179eeaa095ca13281d83536d..5bc13bdad68f5f1a80b2b5f40cccae81fdb97f1c 100644 (file)
@@ -37,6 +37,7 @@ libview/ev-view.c
 shell/eggfindbar.c
 shell/ev-annotation-properties-dialog.c
 shell/ev-application.c
+shell/ev-dualscreen.c
 shell/ev-history.c
 shell/ev-keyring.c
 shell/ev-navigation-action.c
index 3ca29e4f3ac3caebb1dbafbe68480d580d0050d6..99b81571a90ced98a7afb36e025818a0004f468f 100644 (file)
@@ -39,6 +39,8 @@ evince_SOURCES=                               \
        ev-bookmark-action.c            \
        ev-application.c                \
        ev-application.h                \
+       ev-dualscreen.h                 \
+       ev-dualscreen.c                 \
        ev-file-monitor.h               \
        ev-file-monitor.c               \
        ev-history.c                    \
diff --git a/shell/ev-dualscreen.h b/shell/ev-dualscreen.h
new file mode 100644 (file)
index 0000000..c884f58
--- /dev/null
@@ -0,0 +1,60 @@
+/* -*- 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
+ *
+ *
+ * Evince is free software; you can redistribute it and/or modify it
+ * under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * Evince is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+ */
+
+#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"*/
+
+G_BEGIN_DECLS
+
+typedef struct _EvDSCWindow EvDSCWindow;
+typedef struct _EvDSCWindowClass EvDSCWindowClass;
+typedef struct _EvDSCWindowPrivate EvDSCWindowPrivate;
+
+#define EV_TYPE_DSCWINDOW              (ev_dscwindow_get_type())
+#define EV_DSCWINDOW(object)           (G_TYPE_CHECK_INSTANCE_CAST((object), EV_TYPE_DSCWINDOW, EvDSCWindow))
+#define EV_DSCWINDOW_CLASS(klass)      (G_TYPE_CHECK_CLASS_CAST((klass), EV_TYPE_DSCWINDOW, EvDSCWindowClass))
+#define EV_IS_DSCWINDOW(object)                (G_TYPE_CHECK_INSTANCE_TYPE((object), EV_TYPE_DSCWINDOW))
+#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;
+};
+
+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);*/
+
+G_END_DECLS
+
+#endif /* EV_DUALSCREEN_H */