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=e20068b1daa9ed870f14f671cbbfbb5805b1fd41;hb=f343927df4325959193353c52cff1ea4b20b2286;hp=0d9d2b6a3b95f38bfe3705d3715622ffa753a832;hpb=4942d62b873cfac27dc8e4bf3c800f22e0890d0c;p=evince.git diff --git a/shell/ev-page-cache.h b/shell/ev-page-cache.h index 0d9d2b6a..e20068b1 100644 --- a/shell/ev-page-cache.h +++ b/shell/ev-page-cache.h @@ -54,23 +54,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__ */