summaryrefslogtreecommitdiff
path: root/content/content.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2006-02-12 23:07:28 +0000
committerJames Bursa <james@netsurf-browser.org>2006-02-12 23:07:28 +0000
commit415254c326ea4c34d991104ffb2419f57098a7f7 (patch)
tree68f815d5a478cf88c661330ba299f4db366fbd77 /content/content.h
parentdd0cafccccca0fbcda8de2531a9f0c8038b7c91a (diff)
downloadnetsurf-415254c326ea4c34d991104ffb2419f57098a7f7.tar.gz
netsurf-415254c326ea4c34d991104ffb2419f57098a7f7.tar.bz2
[project @ 2006-02-12 23:07:28 by bursa]
Rewrite handling of text/plain contents. Now rendered directly instead of converting to HTML. svn path=/import/netsurf/; revision=2078
Diffstat (limited to 'content/content.h')
-rw-r--r--content/content.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/content.h b/content/content.h
index 7dbcdcb08..aa963f811 100644
--- a/content/content.h
+++ b/content/content.h
@@ -108,6 +108,7 @@
#include "netsurf/content/content_type.h"
#include "netsurf/css/css.h"
#include "netsurf/render/html.h"
+#include "netsurf/render/textplain.h"
#ifdef WITH_JPEG
#include "netsurf/image/jpeg.h"
#endif
@@ -212,6 +213,7 @@ struct content {
/** Data dependent on type. */
union {
struct content_html_data html;
+ struct content_textplain_data textplain;
struct content_css_data css;
#ifdef WITH_JPEG
struct content_jpeg_data jpeg;