diff options
Diffstat (limited to 'desktop/gui_misc.h')
-rw-r--r-- | desktop/gui_misc.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/desktop/gui_misc.h b/desktop/gui_misc.h index daad6ba2e..8005006c7 100644 --- a/desktop/gui_misc.h +++ b/desktop/gui_misc.h @@ -80,6 +80,16 @@ struct gui_browser_table { void (*login)(struct nsurl *url, const char *realm, nserror (*cb)(bool proceed, void *pw), void *cbpw); + /** + * Warn the user of an event. + */ + void (*warning)(const char *warning, const char *detail); + + /** + * Prompt the user for a password for a PDF. + */ + void (*pdf_password)(char **owner_pass, char **user_pass, char *path); + }; #endif |