summaryrefslogtreecommitdiff
path: root/fitz/doc_interactive.c
diff options
context:
space:
mode:
Diffstat (limited to 'fitz/doc_interactive.c')
-rw-r--r--fitz/doc_interactive.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/fitz/doc_interactive.c b/fitz/doc_interactive.c
index b5d54549..f0a4f2ba 100644
--- a/fitz/doc_interactive.c
+++ b/fitz/doc_interactive.c
@@ -75,3 +75,8 @@ void fz_choice_widget_set_value(fz_interactive *idoc, fz_widget *tw, int n, char
{
pdf_choice_widget_set_value((pdf_document *)idoc, tw, n, opts);
}
+
+void fz_set_doc_event_callback(fz_interactive *idoc, fz_doc_event_cb *event_cb, void *data)
+{
+ pdf_set_doc_event_callback((pdf_document *)idoc, event_cb, data);
+}