summaryrefslogtreecommitdiff
path: root/src/book.h
diff options
context:
space:
mode:
authorAlessio Treglia <alessio@debian.org>2010-08-31 01:00:12 +0200
committerAlessio Treglia <alessio@debian.org>2010-08-31 01:00:12 +0200
commit4ac5f08a40731e4ac9331116748e2e5740cc3805 (patch)
tree698bea0d09e82ff8277163e5631e9bf70e6d24ed /src/book.h
parent213b74fec6f0f9be688d4e860db8d8339248a293 (diff)
parent6cd216d78dc05e818ce8e9a244be16a7d523d7d3 (diff)
Merge commit 'upstream/2.31.91'
Diffstat (limited to 'src/book.h')
-rw-r--r--src/book.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/book.h b/src/book.h
index 7a336ef..cf82978 100644
--- a/src/book.h
+++ b/src/book.h
@@ -37,6 +37,7 @@ typedef struct
void (*page_added) (Book *book, Page *page);
void (*page_removed) (Book *book, Page *page);
+ void (*reordered) (Book *book);
void (*cleared) (Book *book);
} BookClass;
@@ -49,12 +50,16 @@ 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);