summaryrefslogtreecommitdiff
path: root/riscos/plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'riscos/plugin.h')
-rw-r--r--riscos/plugin.h15
1 files changed, 7 insertions, 8 deletions
diff --git a/riscos/plugin.h b/riscos/plugin.h
index b996b977f..fafc89862 100644
--- a/riscos/plugin.h
+++ b/riscos/plugin.h
@@ -70,15 +70,14 @@ struct plugin_param_item {
/* function definitions */
bool plugin_handleable(const char *mime_type);
void plugin_msg_parse(wimp_message *message, int ack);
-void plugin_create(struct content *c, const char *params[]);
-void plugin_process_data(struct content *c, char *data, unsigned long size);
-int plugin_convert(struct content *c, unsigned int width, unsigned int height);
-void plugin_revive(struct content *c, unsigned int width, unsigned int height);
-void plugin_reformat(struct content *c, unsigned int width, unsigned int height);
+bool plugin_create(struct content *c, const char *params[]);
+bool plugin_process_data(struct content *c, char *data, unsigned int size);
+bool plugin_convert(struct content *c, int width, int height);
+void plugin_reformat(struct content *c, int width, int height);
void plugin_destroy(struct content *c);
-void plugin_redraw(struct content *c, long x, long y,
- unsigned long width, unsigned long height,
- long clip_x0, long clip_y0, long clip_x1, long clip_y1,
+void plugin_redraw(struct content *c, int x, int y,
+ int width, int height,
+ int clip_x0, int clip_y0, int clip_x1, int clip_y1,
float scale);
void plugin_add_instance(struct content *c, struct browser_window *bw,
struct content *page, struct box *box,