]> www.fi.muni.cz Git - evince.git/blobdiff - backend/ev-document.h
Fix a few bugs
[evince.git] / backend / ev-document.h
index 8d58f0c501d9d10345169ca1aae16a4047d5562a..4cf4601fc0cac639a83eec7cd2288e881ae7a126 100644 (file)
@@ -80,7 +80,9 @@ struct _EvDocumentIface
         /* Signals */
 
         /* "found" emitted at least 1 time (possibly with n_results == 0)
-         * for any call to begin_find.
+         * for any call to begin_find; also emitted with NULL,0 when
+        * you end_find. Calling begin_find twice without calling end_find
+        * is considered OK.
          */
         void         (* found)          (EvDocument         *document,
                                          const EvFindResult *results,
@@ -117,6 +119,12 @@ void     ev_document_begin_find    (EvDocument   *document,
                                     gboolean      case_sensitive);
 void     ev_document_end_find      (EvDocument   *document);
 
+void     ev_document_found         (EvDocument         *document,
+                                   const EvFindResult *results,
+                                   int                 n_results,
+                                   double              percent_complete);
+                                   
+
 G_END_DECLS
 
 #endif