summaryrefslogtreecommitdiff
path: root/content
diff options
context:
space:
mode:
authorChris Young <chris@unsatisfactorysoftware.co.uk>2011-03-06 13:58:02 +0000
committerChris Young <chris@unsatisfactorysoftware.co.uk>2011-03-06 13:58:02 +0000
commit5ac45472c7af8ccf686ea93791e491899889f087 (patch)
tree9d64a00ac2ceff5686f247ad163839a880f71b71 /content
parentbfadf014825099ca4021a083fca7a6a83d737331 (diff)
downloadnetsurf-5ac45472c7af8ccf686ea93791e491899889f087.tar.gz
netsurf-5ac45472c7af8ccf686ea93791e491899889f087.tar.bz2
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
Diffstat (limited to 'content')
-rw-r--r--content/content.c4
-rw-r--r--content/content_protected.h2
2 files changed, 3 insertions, 3 deletions
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"