summaryrefslogtreecommitdiff
path: root/libdocument/ev-document-annotations.h
diff options
context:
space:
mode:
Diffstat (limited to 'libdocument/ev-document-annotations.h')
-rw-r--r--libdocument/ev-document-annotations.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/libdocument/ev-document-annotations.h b/libdocument/ev-document-annotations.h
index b0046609..5a28e510 100644
--- a/libdocument/ev-document-annotations.h
+++ b/libdocument/ev-document-annotations.h
@@ -79,6 +79,8 @@ struct _EvDocumentAnnotationsInterface
void (* save_annotation) (EvDocumentAnnotations *document_annots,
EvAnnotation *annot,
EvAnnotationsSaveMask mask);
+ void (* remove_annotation) (EvDocumentAnnotations *document_annots,
+ EvAnnotation *annot);
};
GType ev_document_annotations_get_type (void) G_GNUC_CONST;
@@ -88,10 +90,14 @@ gboolean ev_document_annotations_document_is_modified (EvDocumentAnnotatio
void ev_document_annotations_add_annotation (EvDocumentAnnotations *document_annots,
EvAnnotation *annot,
EvRectangle *rect);
+void ev_document_annotations_remove_annotation (EvDocumentAnnotations *document_annots,
+ EvAnnotation *annot);
+
void ev_document_annotations_save_annotation (EvDocumentAnnotations *document_annots,
EvAnnotation *annot,
EvAnnotationsSaveMask mask);
-gboolean ev_document_annotations_can_add_annotation (EvDocumentAnnotations *document_annots);
+gboolean ev_document_annotations_can_add_annotation (EvDocumentAnnotations *document_annots);
+gboolean ev_document_annotations_can_remove_annotation (EvDocumentAnnotations *document_annots);
G_END_DECLS