X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-view.h;h=a72ed6b48f25d0b64b687010ababf1baf505efb7;hb=9fc99e3207e7917a5c09fef1a961f8cdf45ce7ed;hp=067873bc2658c66ef35c83edd1d9db0f5923d563;hpb=2c91588d544c80f08526a54c98b25aabe3777ef7;p=evince.git diff --git a/shell/ev-view.h b/shell/ev-view.h index 067873bc..a72ed6b4 100644 --- a/shell/ev-view.h +++ b/shell/ev-view.h @@ -23,7 +23,7 @@ #include #include "ev-document.h" -#include "ev-bookmark.h" +#include "ev-link.h" G_BEGIN_DECLS @@ -31,7 +31,6 @@ G_BEGIN_DECLS #define EV_VIEW(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), EV_TYPE_VIEW, EvView)) #define EV_IS_VIEW(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), EV_TYPE_VIEW)) - typedef struct _EvView EvView; typedef struct _EvViewClass EvViewClass; @@ -45,10 +44,12 @@ void ev_view_copy (EvView *view); void ev_view_select_all (EvView *view); /* Navigation */ +gboolean ev_view_can_go_back (EvView *view); void ev_view_go_back (EvView *view); +gboolean ev_view_can_go_forward (EvView *view); void ev_view_go_forward (EvView *view); -void ev_view_go_to_bookmark (EvView *view, - EvBookmark *bookmark); +void ev_view_go_to_link (EvView *view, + EvLink *link); void ev_view_set_page (EvView *view, int page); int ev_view_get_page (EvView *view); @@ -60,7 +61,13 @@ void ev_view_normal_size (EvView *view); void ev_view_best_fit (EvView *view); void ev_view_fit_width (EvView *view); -char* ev_view_get_find_status_message (EvView *view); +/* Find */ +void ev_view_find_next (EvView *view); +void ev_view_find_previous (EvView *view); + +/* Status */ +const char *ev_view_get_status (EvView *view); +const char *ev_view_get_find_status (EvView *view); G_END_DECLS