From 5ac45472c7af8ccf686ea93791e491899889f087 Mon Sep 17 00:00:00 2001 From: Chris Young Date: Sun, 6 Mar 2011 13:58:02 +0000 Subject: Fix broken CONTENT_PLUGIN API. Add a default content handler for Amiga using the plugin interface, which passes unknown files (currently images only) through DataTypes. svn path=/trunk/netsurf/; revision=11924 --- riscos/plugin.h | 22 +--------------------- 1 file changed, 1 insertion(+), 21 deletions(-) (limited to 'riscos/plugin.h') diff --git a/riscos/plugin.h b/riscos/plugin.h index d23e6539e..a3586b284 100644 --- a/riscos/plugin.h +++ b/riscos/plugin.h @@ -22,16 +22,12 @@ #include "utils/config.h" #ifdef WITH_PLUGIN +#include "desktop/plugin.h" #include #include "oslib/plugin.h" #include "oslib/wimp.h" -struct box; -struct browser_window; -struct content; -struct object_params; struct plugin_stream; -struct rect; /* We have one content per instance of a plugin */ struct content_plugin_data { @@ -50,22 +46,6 @@ struct content_plugin_data { struct plugin_stream *streams; /* list of active streams */ }; -/* function definitions */ -bool plugin_handleable(const char *mime_type); -void plugin_msg_parse(wimp_message *message, int ack); -bool plugin_create(struct content *c, struct content *parent, - const char *params[]); -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); -bool plugin_redraw(struct content *c, int x, int y, - int width, int height, const struct rect *clip, - float scale, colour background_colour); -void plugin_open(struct content *c, struct browser_window *bw, - struct content *page, unsigned int index, struct box *box, - struct object_params *params); -void plugin_close(struct content *c); - /* message handlers */ void plugin_open_msg(wimp_message *message); void plugin_opening(wimp_message *message); -- cgit v1.2.3