From 87ebc2af1f0417b3bc38a233e28ff673eff4fa51 Mon Sep 17 00:00:00 2001 From: Alessio Treglia Date: Sat, 27 Aug 2011 10:54:21 +0200 Subject: Imported Upstream version 3.1.5 --- src/book.h | 69 -------------------------------------------------------------- 1 file changed, 69 deletions(-) delete mode 100644 src/book.h (limited to 'src/book.h') diff --git a/src/book.h b/src/book.h deleted file mode 100644 index cf82978..0000000 --- a/src/book.h +++ /dev/null @@ -1,69 +0,0 @@ -/* - * Copyright (C) 2009 Canonical Ltd. - * Author: Robert Ancell - * - * 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_H_ -#define _BOOK_H_ - -#include -#include -#include -#include "page.h" - -G_BEGIN_DECLS - -#define BOOK_TYPE (book_get_type ()) -#define BOOK(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), BOOK_TYPE, Book)) - - -typedef struct BookPrivate BookPrivate; - -typedef struct -{ - GObject parent_instance; - BookPrivate *priv; -} Book; - -typedef struct -{ - GObjectClass parent_class; - - void (*page_added) (Book *book, Page *page); - void (*page_removed) (Book *book, Page *page); - void (*reordered) (Book *book); - void (*cleared) (Book *book); -} BookClass; - - -GType book_get_type (void); - -Book *book_new (void); - -void book_clear (Book *book); - -Page *book_append_page (Book *book, gint width, gint height, gint dpi, ScanDirection orientation); - -void book_move_page (Book *book, Page *page, gint location); - -void book_delete_page (Book *book, Page *page); - -gint book_get_n_pages (Book *book); - -Page *book_get_page (Book *book, gint page_number); - -gint book_get_page_index (Book *book, Page *page); - -gboolean book_save (Book *book, const gchar *type, GFile *file, GError **error); - -void book_set_needs_saving (Book *book, gboolean needs_saving); - -gboolean book_get_needs_saving (Book *book); - -#endif /* _BOOK_H_ */ -- cgit v1.2.3