X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-view.h;h=e57371aa4da698f59b854e8038cb427e71f79165;hb=d3ea391eeabb901a8dfe269edc5980f0f800aa65;hp=93902637141910f10727993a8316ce9965631d0b;hpb=2d5fe16a0b4a8bbb85933e471a62550384446821;p=evince.git diff --git a/shell/ev-view.h b/shell/ev-view.h index 93902637..e57371aa 100644 --- a/shell/ev-view.h +++ b/shell/ev-view.h @@ -24,6 +24,7 @@ #include "ev-document.h" #include "ev-link.h" +#include "ev-history.h" G_BEGIN_DECLS @@ -31,7 +32,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; @@ -39,13 +39,17 @@ GType ev_view_get_type (void) G_GNUC_CONST; GtkWidget* ev_view_new (void); void ev_view_set_document (EvView *view, EvDocument *document); +void ev_view_set_history (EvView *view, + EvHistory *history); /* Clipboard */ 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_link (EvView *view, EvLink *link); @@ -60,7 +64,9 @@ 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); +/* Status */ +const char *ev_view_get_status (EvView *view); +const char *ev_view_get_find_status (EvView *view); G_END_DECLS