From c4b192c34c4758bd078d1a212d69c6ae5084d6c8 Mon Sep 17 00:00:00 2001 From: Carlos Garcia Campos Date: Wed, 19 Aug 2009 13:29:40 +0000 Subject: Move part of the EvPageCache to EvDocument The static data about the document is stored now in EvDocument class --- (limited to 'libview/ev-page-cache.h') diff --git a/libview/ev-page-cache.h b/libview/ev-page-cache.h index 03e43d7..96e8c43 100644 --- a/libview/ev-page-cache.h +++ b/libview/ev-page-cache.h @@ -35,10 +35,6 @@ G_BEGIN_DECLS GType ev_page_cache_get_type (void) G_GNUC_CONST; -/* Used by ev-document.c only */ -EvPageCache *ev_page_cache_new (EvDocument *document); -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, gint rotation, @@ -64,12 +60,6 @@ void ev_page_cache_get_thumbnail_size (EvPageCache *page_cache, 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 */ @@ -79,7 +69,7 @@ void ev_page_cache_set_current_page (EvPageCache *page_cache, 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); + const gchar *page_label); EvPageCache *ev_page_cache_get (EvDocument *document); -- cgit v0.9.1