*
* 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.
*/
+#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION)
+#error "Only <evince-document.h> can be included directly."
+#endif
+
#ifndef EV_LINK_H
#define EV_LINK_H
const gchar *ev_link_get_title (EvLink *self);
EvLinkAction *ev_link_get_action (EvLink *self);
-gint ev_link_get_page (EvLink *link);
-
-/* Link Mapping stuff */
-typedef struct _EvLinkMapping EvLinkMapping;
-struct _EvLinkMapping
-{
- EvLink *link;
- gdouble x1;
- gdouble y1;
- gdouble x2;
- gdouble y2;
-};
-void ev_link_mapping_free (GList *link_mapping);
-EvLink *ev_link_mapping_find (GList *link_mapping,
- gdouble x,
- gdouble y);
-void ev_link_mapping_get_area (GList *link_mapping,
- EvLink *link,
- EvRectangle *area);
G_END_DECLS
#endif /* !EV_LINK_H */