summaryrefslogtreecommitdiff
path: root/fitz/fitz.h
diff options
context:
space:
mode:
authorPaul Gardiner <paulg.artifex@glidos.net>2012-09-18 12:02:33 +0100
committerPaul Gardiner <paulg.artifex@glidos.net>2012-09-18 15:00:00 +0100
commit415ae3908a392363b2196ce8c0c913c78e2f0320 (patch)
tree3558eb4d6722991c15e225b2c15e3a977ccf1f6a /fitz/fitz.h
parente6ed164c3935160d3d42aa15017abe2863bbdaac (diff)
downloadmupdf-415ae3908a392363b2196ce8c0c913c78e2f0320.tar.xz
Forms: add event handling api and specifically support for javascript alert
Diffstat (limited to 'fitz/fitz.h')
-rw-r--r--fitz/fitz.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/fitz/fitz.h b/fitz/fitz.h
index cfd2db9f..4e5607f3 100644
--- a/fitz/fitz.h
+++ b/fitz/fitz.h
@@ -2602,6 +2602,7 @@ void fz_set_doc_event_callback(fz_interactive *idoc, fz_doc_event_cb *fn, void *
*/
typedef struct
{
+ char *message;
int icon_type;
int button_group_type;
char *title;
@@ -2645,7 +2646,7 @@ enum
structire are owned by mupdf and need not be freed by the
caller.
*/
-fz_alert_event *fz_access_alert_event(fz_interactive *idoc);
+fz_alert_event *fz_access_alert_event(fz_doc_event *event);
/*
fz_submit_event: details of a submit event. The app should submit