G_BEGIN_DECLS
-typedef struct
-{
- int page_num;
- GdkRectangle highlight_area;
-} EvFindResult;
-
#define EV_TYPE_DOCUMENT (ev_document_get_type ())
#define EV_DOCUMENT(o) (G_TYPE_CHECK_INSTANCE_CAST ((o), EV_TYPE_DOCUMENT, EvDocument))
#define EV_DOCUMENT_IFACE(k) (G_TYPE_CHECK_CLASS_CAST((k), EV_TYPE_DOCUMENT, EvDocumentIface))
{
GTypeInterface base_iface;
+ /* Signals */
+ void (* changed) (EvDocument *document);
+
/* Methods */
gboolean (* load) (EvDocument *document,
const char *uri,
int clip_y,
int clip_width,
int clip_height);
-
- void (* begin_find) (EvDocument *document,
- const char *search_string,
- gboolean case_sensitive);
- void (* end_find) (EvDocument *document);
-
- /* Signals */
-
- /* "found" emitted at least 1 time (possibly with n_results == 0)
- * 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,
- int n_results,
- double percent_complete);
};
GType ev_document_get_type (void);
int clip_y,
int clip_width,
int clip_height);
-void ev_document_begin_find (EvDocument *document,
- const char *search_string,
- 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);
-
+void ev_document_changed (EvDocument *document);
G_END_DECLS