X-Git-Url: https://www.fi.muni.cz/~kas/git//home/kas/public_html/git/?a=blobdiff_plain;ds=sidebyside;f=shell%2Fev-sidebar-annotations.h;h=544fc2443644a0b145fa99fabdd316731cc9f1c4;hb=d4139205b010ed06310d14284e63114e88ec6de2;hp=72c5cc355e611c657fdef0ed13bf69a387216891;hpb=c497b6a969f916a476d0bb01e38ff6584ff4bfe5;p=evince.git diff --git a/shell/ev-sidebar-annotations.h b/shell/ev-sidebar-annotations.h index 72c5cc35..544fc244 100644 --- a/shell/ev-sidebar-annotations.h +++ b/shell/ev-sidebar-annotations.h @@ -46,11 +46,17 @@ struct _EvSidebarAnnotations { struct _EvSidebarAnnotationsClass { GtkVBoxClass base_class; + 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__ */