X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=libdocument%2Fev-annotation.h;h=06dd1efd8129d082b0692bf037956cb2f0f7f7db;hb=cc3f21efc8104182171c9300facc16d9a79177ef;hp=47d908dbadfe6c143a24acbe0b455ba9a8296271;hpb=0dd0c92a0acb3d4aaecb7fd56e6ca71e89fef54a;p=evince.git diff --git a/libdocument/ev-annotation.h b/libdocument/ev-annotation.h index 47d908db..06dd1efd 100644 --- a/libdocument/ev-annotation.h +++ b/libdocument/ev-annotation.h @@ -19,6 +19,10 @@ * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA. */ +#if !defined (__EV_EVINCE_DOCUMENT_H_INSIDE__) && !defined (EVINCE_COMPILATION) +#error "Only can be included directly." +#endif + #ifndef EV_ANNOTATION_H #define EV_ANNOTATION_H @@ -108,6 +112,7 @@ void ev_annotation_markup_set_label (EvAnnotationMarkup *markup, gdouble ev_annotation_markup_get_opacity (EvAnnotationMarkup *markup); void ev_annotation_markup_set_opacity (EvAnnotationMarkup *markup, gdouble opacity); +gboolean ev_annotation_markup_has_popup (EvAnnotationMarkup *markup); void ev_annotation_markup_get_rectangle (EvAnnotationMarkup *markup, EvRectangle *ev_rect); gboolean ev_annotation_markup_get_is_open (EvAnnotationMarkup *markup); @@ -118,26 +123,6 @@ void ev_annotation_markup_set_is_open (EvAnnotationMarkup *markup, GType ev_annotation_text_get_type (void) G_GNUC_CONST; EvAnnotation *ev_annotation_text_new (EvPage *page); - -/* Annotation Mapping stuff */ -typedef struct _EvAnnotationMapping EvAnnotationMapping; -struct _EvAnnotationMapping -{ - EvAnnotation *annotation; - gdouble x1; - gdouble y1; - gdouble x2; - gdouble y2; -}; - -void ev_annotation_mapping_free (GList *annotation_mapping); -EvAnnotation *ev_annotation_mapping_find (GList *annotation_mapping, - gdouble x, - gdouble y); -void ev_annotation_mapping_get_area (GList *annotation_mapping, - EvAnnotation *annotation, - EvRectangle *area); - G_END_DECLS #endif /* EV_ANNOTATION_H */