summaryrefslogtreecommitdiff
path: root/riscos/plugin.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2003-07-14 22:57:45 +0000
committerJames Bursa <james@netsurf-browser.org>2003-07-14 22:57:45 +0000
commit889ae885c66b0278c632090a0e1b89746a895ed4 (patch)
treebdb33f9b335584f04a61a6422e02a345181650b6 /riscos/plugin.h
parent907115c49d571eea11919e55d84bd599154ccb0f (diff)
downloadnetsurf-889ae885c66b0278c632090a0e1b89746a895ed4.tar.gz
netsurf-889ae885c66b0278c632090a0e1b89746a895ed4.tar.bz2
[project @ 2003-07-14 22:57:45 by bursa]
Add content instances. svn path=/import/netsurf/; revision=216
Diffstat (limited to 'riscos/plugin.h')
-rw-r--r--riscos/plugin.h13
1 files changed, 11 insertions, 2 deletions
diff --git a/riscos/plugin.h b/riscos/plugin.h
index 0c65012f1..40924b884 100644
--- a/riscos/plugin.h
+++ b/riscos/plugin.h
@@ -8,6 +8,7 @@
#ifndef _NETSURF_RISCOS_PLUGIN_H_
#define _NETSURF_RISCOS_PLUGIN_H_
+#include <stdbool.h>
#include "netsurf/content/content.h"
#include "netsurf/render/box.h"
@@ -25,7 +26,15 @@ void plugin_reformat(struct content *c, unsigned int width, unsigned int height)
void plugin_destroy(struct content *c);
void plugin_redraw(struct content *c, long x, long y,
unsigned long width, unsigned long height);
-void plugin_add_user(struct content *c, struct object_params *params);
-void plugin_remove_user(struct content *c, struct object_params *params);
+void plugin_add_instance(struct content *c, struct browser_window *bw,
+ struct content *page, struct box *box,
+ struct object_params *params, void **state);
+void plugin_remove_instance(struct content *c, struct browser_window *bw,
+ struct content *page, struct box *box,
+ struct object_params *params, void **state);
+void plugin_reshape_instance(struct content *c, struct browser_window *bw,
+ struct content *page, struct box *box,
+ struct object_params *params, void **state);
+
#endif