]> www.fi.muni.cz Git - evince.git/blob - backend/djvu/djvu-links.h
[djvu] Implement document_links_find_link_page()
[evince.git] / backend / djvu / djvu-links.h
1 /* 
2  * Copyright (C) 2006 Pauli Virtanen <pav@iki.fi>
3  *
4  * This program is free software; you can redistribute it and/or modify
5  * it under the terms of the GNU General Public License as published by
6  * the Free Software Foundation; either version 2, or (at your option)
7  * any later version.
8  *
9  * This program is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12  * GNU General Public License for more details.
13  *
14  * You should have received a copy of the GNU General Public License
15  * along with this program; if not, write to the Free Software
16  * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
17  */
18
19 #ifndef __DJVU_LINK_H__
20 #define __DJVU_LINK_H__
21
22 #include "ev-document-links.h"
23 #include "djvu-document.h"
24
25 #include <glib.h>
26
27 GtkTreeModel  *djvu_links_get_links_model    (EvDocumentLinks *document_links);
28 EvMappingList *djvu_links_get_links          (EvDocumentLinks *document_links,
29                                               gint             page,
30                                               double           scale_factor);
31 EvLinkDest    *djvu_links_find_link_dest     (EvDocumentLinks *document_links,
32                                               const gchar     *link_name);
33 gint           djvu_links_find_link_page     (EvDocumentLinks *document_links,
34                                               const gchar     *link_name);
35 gboolean       djvu_links_has_document_links (EvDocumentLinks *document_links);
36
37 #endif /* __DJVU_LINK_H__ */