X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-page-cache.h;h=43f455329c5a6d792189f8f9dc8f19b3be01bde2;hb=1945e728811e4011d8a086f5da1486c5adb0dd02;hp=0d9d2b6a3b95f38bfe3705d3715622ffa753a832;hpb=4942d62b873cfac27dc8e4bf3c800f22e0890d0c;p=evince.git diff --git a/shell/ev-page-cache.h b/shell/ev-page-cache.h index 0d9d2b6a..43f45532 100644 --- a/shell/ev-page-cache.h +++ b/shell/ev-page-cache.h @@ -20,7 +20,8 @@ #ifndef __EV_PAGE_CACHE_H__ #define __EV_PAGE_CACHE_H__ -#include +#include + #include "ev-document.h" G_BEGIN_DECLS @@ -54,23 +55,31 @@ void ev_page_cache_get_height_to_page (EvPageCache *page_cache, gfloat scale, gint *height, gint *dual_height); +void ev_page_cache_get_thumbnail_size (EvPageCache *page_cache, + gint page, + gint rotation, + gint *width, + gint *height); gint ev_page_cache_get_max_label_chars (EvPageCache *page_cache); char *ev_page_cache_get_page_label (EvPageCache *page_cache, gint page); gboolean ev_page_cache_has_nonnumeric_page_labels (EvPageCache *page_cache); const EvDocumentInfo *ev_page_cache_get_info (EvPageCache *page_cache); +gboolean ev_page_cache_get_dual_even_left (EvPageCache *page_cache); + /* Navigation */ gint ev_page_cache_get_current_page (EvPageCache *page_cache); void ev_page_cache_set_current_page (EvPageCache *page_cache, int page); +void ev_page_cache_set_current_page_history (EvPageCache *page_cache, + int page); gboolean ev_page_cache_set_page_label (EvPageCache *page_cache, const char *page_label); -gboolean ev_page_cache_next_page (EvPageCache *page_cache); -gboolean ev_page_cache_prev_page (EvPageCache *page_cache); EvPageCache *ev_page_cache_get (EvDocument *document); + G_END_DECLS #endif /* __EV_PAGE_CACHE_H__ */