X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=libdocument%2Fev-link.h;h=74581529b1ccf02824bb7d6167e654998d28df3d;hb=1d0de30170119eade2a7305ffa8ec6d9a3e4af32;hp=b7304debfe1e9d8435f8dab7fb6fcf905ab3d5cb;hpb=13a06349251874bd35d2f03c3fc93217cee749a2;p=evince.git diff --git a/libdocument/ev-link.h b/libdocument/ev-link.h index b7304deb..74581529 100644 --- a/libdocument/ev-link.h +++ b/libdocument/ev-link.h @@ -14,13 +14,18 @@ * * 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 can be included directly." +#endif + #ifndef EV_LINK_H #define EV_LINK_H #include +#include "ev-document.h" #include "ev-link-action.h" G_BEGIN_DECLS @@ -43,22 +48,8 @@ EvLink *ev_link_new (const gchar *title, 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); G_END_DECLS #endif /* !EV_LINK_H */