X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-history.h;h=d8bb53f5f32934f0fc50d67170e017d6e0bf9412;hb=4f8bc8db98020835d2c4d39c902a296b784cf030;hp=f69cd48a3089f78c965bd09333268532e55e6ae0;hpb=2c91588d544c80f08526a54c98b25aabe3777ef7;p=evince.git diff --git a/shell/ev-history.h b/shell/ev-history.h index f69cd48a..d8bb53f5 100644 --- a/shell/ev-history.h +++ b/shell/ev-history.h @@ -13,9 +13,8 @@ * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software - * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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