X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libview%2Fev-page-cache.h;h=03e43d77b393e871ae14d15986e9e123f4b7c6c1;hb=db6ebaefea5b1a367fce51e2d7726f8ee850dc70;hp=43f455329c5a6d792189f8f9dc8f19b3be01bde2;hpb=68d0fc3c59185065d9694ba3f8cb2665b984eb9f;p=evince.git diff --git a/libview/ev-page-cache.h b/libview/ev-page-cache.h index 43f45532..03e43d77 100644 --- a/libview/ev-page-cache.h +++ b/libview/ev-page-cache.h @@ -17,12 +17,16 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#if !defined (__EV_EVINCE_VIEW_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef __EV_PAGE_CACHE_H__ #define __EV_PAGE_CACHE_H__ #include -#include "ev-document.h" +#include G_BEGIN_DECLS #define EV_TYPE_PAGE_CACHE (ev_page_cache_get_type ()) @@ -79,6 +83,7 @@ gboolean ev_page_cache_set_page_label (EvPageCache *page_cache, EvPageCache *ev_page_cache_get (EvDocument *document); +gboolean ev_page_cache_check_dimensions (EvPageCache *page_cache); G_END_DECLS