]> www.fi.muni.cz Git - evince.git/blobdiff - libview/ev-view-private.h
[libview] Add support for synctex in EvView
[evince.git] / libview / ev-view-private.h
index 0362bcd1901623cae4b0a9f1c3358bb6343bd604..79e6cdb769d325c6eb1a5ffca4faeb42460768a4 100644 (file)
@@ -184,6 +184,9 @@ struct _EvView {
        /* Annotations */
        GList             *window_children;
        EvViewWindowChild *window_child_focus;
+
+       /* Synctex */
+       EvMapping *synctex_result;
 };
 
 struct _EvViewClass {
@@ -199,6 +202,8 @@ struct _EvViewClass {
        void    (*popup_menu)             (EvView         *view,
                                           GList          *items);
        void    (*selection_changed)      (EvView         *view);
+       void    (*sync_source)            (EvView         *view,
+                                          EvSourceLink   *link);
 };
 
 void _get_page_size_for_scale_and_rotation (EvDocument *document,