X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;f=shell%2Fev-sidebar-annotations.h;h=544fc2443644a0b145fa99fabdd316731cc9f1c4;hb=3421b3c4a7f7fbfb4b50b6d0918fc3fe14ed5c1f;hp=8762d78744951ff9dd10be76643328126d7f4f2b;hpb=d87812b63f78717e5b82c9a2170769a89b91eefd;p=evince.git diff --git a/shell/ev-sidebar-annotations.h b/shell/ev-sidebar-annotations.h index 8762d787..544fc244 100644 --- a/shell/ev-sidebar-annotations.h +++ b/shell/ev-sidebar-annotations.h @@ -46,13 +46,17 @@ struct _EvSidebarAnnotations { struct _EvSidebarAnnotationsClass { GtkVBoxClass base_class; - void (* annot_activated) (EvSidebarAnnotations *sidebar_annots, - EvMapping *mapping); + void (* annot_activated) (EvSidebarAnnotations *sidebar_annots, + EvMapping *mapping); + void (* begin_annot_add) (EvSidebarAnnotations *sidebar_annots, + EvAnnotationType annot_type); + void (* annot_add_cancelled) (EvSidebarAnnotations *sidebar_annots); }; -GType ev_sidebar_annotations_get_type (void) G_GNUC_CONST; -GtkWidget *ev_sidebar_annotations_new (void); - +GType ev_sidebar_annotations_get_type (void) G_GNUC_CONST; +GtkWidget *ev_sidebar_annotations_new (void); +void ev_sidebar_annotations_annot_added (EvSidebarAnnotations *sidebar_annots, + EvAnnotation *annot); G_END_DECLS #endif /* __EV_SIDEBAR_ANNOTATIONS_H__ */