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 --- content/content.c | 4 ++-- content/content_protected.h | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'content') diff --git a/content/content.c b/content/content.c index 41d922d62..427cc6313 100644 --- a/content/content.c +++ b/content/content.c @@ -69,7 +69,7 @@ #include "riscos/draw.h" #endif #ifdef WITH_PLUGIN -#include "riscos/plugin.h" +#include "desktop/plugin.h" #endif #ifdef WITH_ARTWORKS #include "riscos/artworks.h" @@ -367,7 +367,7 @@ static const struct handler_entry handler_map[] = { #endif #ifdef WITH_PLUGIN {plugin_create, 0, plugin_convert, - plugin_reformat, plugin_destroy, 0, plugin_redraw, 0, 0, 0, + plugin_reformat, plugin_destroy, 0, 0, 0, plugin_redraw, 0, plugin_open, plugin_close, plugin_clone, true}, #endif diff --git a/content/content_protected.h b/content/content_protected.h index 50ece50a5..a37d96c42 100644 --- a/content/content_protected.h +++ b/content/content_protected.h @@ -52,7 +52,7 @@ #include "image/ico.h" #endif #ifdef WITH_PLUGIN -#include "riscos/plugin.h" +#include "desktop/plugin.h" #endif #ifdef WITH_MNG #include "image/mng.h" -- cgit v1.2.3