diff options
author | John Mark Bell <jmb@netsurf-browser.org> | 2003-08-24 22:39:55 +0000 |
---|---|---|
committer | John Mark Bell <jmb@netsurf-browser.org> | 2003-08-24 22:39:55 +0000 |
commit | 3c11ffdc9ffef96056504228577ab99046b49caf (patch) | |
tree | f5b55115c76080c8850e322fb035d3b48f1fda00 /riscos/plugin.h | |
parent | dfbe3c84f1541590cf4bea240d0abfaf76d5afb1 (diff) | |
download | netsurf-3c11ffdc9ffef96056504228577ab99046b49caf.tar.gz netsurf-3c11ffdc9ffef96056504228577ab99046b49caf.tar.bz2 |
[project @ 2003-08-24 22:39:55 by jmb]
Make plugins work. Improve initialisation of AcornURI. Add support for <iframe> (still needs rendering tweaks). Add Ctrl-F2 key sequence to close window.
svn path=/import/netsurf/; revision=246
Diffstat (limited to 'riscos/plugin.h')
-rw-r--r-- | riscos/plugin.h | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/riscos/plugin.h b/riscos/plugin.h index 40924b884..fb4eeb438 100644 --- a/riscos/plugin.h +++ b/riscos/plugin.h @@ -12,12 +12,39 @@ #include "netsurf/content/content.h" #include "netsurf/render/box.h" +#include "oslib/plugin.h" +#include "oslib/wimp.h" + struct plugin_state { int dummy; }; +struct plugin_message { + + int poll; + plugin_b browser; + plugin_p plugin; + wimp_message *m; + struct plugin_message *reply; + struct plugin_message *next; + struct plugin_message *prev; +}; + +struct plugin_list { + + struct content *c; + struct browser_window *bw; + struct content *page; + struct box *box; + struct object_params *params; + void **state; + struct plugin_list *next; + struct plugin_list *prev; +}; + /* function definitions */ bool plugin_handleable(const char *mime_type); +void plugin_msg_parse(wimp_message *message, int ack); void plugin_create(struct content *c); void plugin_process_data(struct content *c, char *data, unsigned long size); int plugin_convert(struct content *c, unsigned int width, unsigned int height); |