X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-history.h;h=55eeb7c21e484b3fcd6043e8d9a136285e6d720f;hb=8370e4fa6c0a90a4d10294e3a74ed87d90b8db94;hp=f69cd48a3089f78c965bd09333268532e55e6ae0;hpb=2c91588d544c80f08526a54c98b25aabe3777ef7;p=evince.git diff --git a/shell/ev-history.h b/shell/ev-history.h index f69cd48a..55eeb7c2 100644 --- a/shell/ev-history.h +++ b/shell/ev-history.h @@ -15,7 +15,6 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * - * $Id$ */ #ifndef EV_HISTORY_H @@ -23,7 +22,7 @@ #include -#include "ev-bookmark.h" +#include "ev-link.h" G_BEGIN_DECLS @@ -49,20 +48,17 @@ struct _EvHistory struct _EvHistoryClass { GObjectClass parent_class; + + void (*changed) (EvHistory *history); }; GType ev_history_get_type (void); EvHistory *ev_history_new (void); void ev_history_add_link (EvHistory *history, - EvBookmark *bookmark); -void ev_history_add_page (EvHistory *history, - int page); -EvBookmark *ev_history_get_link_nth (EvHistory *history, + EvLink *linkk); +EvLink *ev_history_get_link_nth (EvHistory *history, int index); int ev_history_get_n_links (EvHistory *history); -int ev_history_get_current_index (EvHistory *history); -void ev_history_set_current_index (EvHistory *history, - int index); G_END_DECLS