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=d0ee00216c2f675637bf4569915fc3a4502f1172;hb=8370e4fa6c0a90a4d10294e3a74ed87d90b8db94;hp=3360d821c5626c496f1fae3428834d5434529e76;hpb=646b17b09453da438218e6b86a2b8b830e5b73c0;p=evince.git diff --git a/shell/ev-page-cache.h b/shell/ev-page-cache.h index 3360d821..d0ee0021 100644 --- a/shell/ev-page-cache.h +++ b/shell/ev-page-cache.h @@ -36,21 +36,21 @@ gint ev_page_cache_get_n_pages (EvPageCache *page_cache); const char *ev_page_cache_get_title (EvPageCache *page_cache); void ev_page_cache_get_size (EvPageCache *page_cache, gint page, - EvOrientation orientation, + gint rotation, gfloat scale, gint *width, gint *height); void ev_page_cache_get_max_width (EvPageCache *page_cache, - EvOrientation orientation, + gint rotation, gfloat scale, gint *width); void ev_page_cache_get_max_height (EvPageCache *page_cache, - EvOrientation orientation, + gint rotation, gfloat scale, gint *height); void ev_page_cache_get_height_to_page (EvPageCache *page_cache, gint page, - EvOrientation orientation, + gint rotation, gfloat scale, gint *height, gint *dual_height); @@ -60,19 +60,20 @@ char *ev_page_cache_get_page_label (EvPageCache *page_cache, 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); -void ev_page_cache_set_link (EvPageCache *page_cache, - EvLink *link); -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__ */