diff options
author | Alessio Treglia <alessio@debian.org> | 2011-08-27 10:54:22 +0200 |
---|---|---|
committer | Alessio Treglia <alessio@debian.org> | 2011-08-27 10:54:22 +0200 |
commit | 575d802c4f1a81ebce3b7b71be6dd3a51fddf7bd (patch) | |
tree | f67206af06039627d241d77bc83009505189b7eb /src/book-view.h | |
parent | 77a9b5bea4c6dc6977e51b002d92d268e57208f3 (diff) | |
parent | 87ebc2af1f0417b3bc38a233e28ff673eff4fa51 (diff) |
Merge commit 'upstream/3.1.5'
Diffstat (limited to 'src/book-view.h')
-rw-r--r-- | src/book-view.h | 59 |
1 files changed, 0 insertions, 59 deletions
diff --git a/src/book-view.h b/src/book-view.h deleted file mode 100644 index 5b5e2a6..0000000 --- a/src/book-view.h +++ /dev/null @@ -1,59 +0,0 @@ -/* - * Copyright (C) 2009 Canonical Ltd. - * Author: Robert Ancell <robert.ancell@canonical.com> - * - * This program 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 3 of the License, or (at your option) any later - * version. See http://www.gnu.org/copyleft/gpl.html the full text of the - * license. - */ - -#ifndef _BOOK_VIEW_H_ -#define _BOOK_VIEW_H_ - -#include <gtk/gtk.h> -#include <cairo.h> -#include "book.h" - -G_BEGIN_DECLS - -#define BOOK_VIEW_TYPE (book_view_get_type ()) -#define BOOK_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOOK_VIEW_TYPE, BookView)) - - -typedef struct BookViewPrivate BookViewPrivate; - -typedef struct -{ - GtkVBox parent_instance; - BookViewPrivate *priv; -} BookView; - -typedef struct -{ - GtkVBoxClass parent_class; - - void (*page_selected) (BookView *view, Page *page); - void (*show_page) (BookView *view, Page *page); - void (*show_menu) (BookView *view, Page *page); -} BookViewClass; - - -GType book_view_get_type (void); - -BookView *book_view_new (Book *book); - -void book_view_redraw (BookView *view); - -Book *book_view_get_book (BookView *view); - -void book_view_select_page (BookView *view, Page *page); - -void book_view_select_next_page (BookView *view); - -void book_view_select_prev_page (BookView *view); - -Page *book_view_get_selected (BookView *view); - -#endif /* _BOOK_VIEW_H_ */ |