summaryrefslogtreecommitdiff
path: root/content/content.h
diff options
context:
space:
mode:
authorJames Bursa <james@netsurf-browser.org>2004-01-24 17:08:16 +0000
committerJames Bursa <james@netsurf-browser.org>2004-01-24 17:08:16 +0000
commit1bdcb446392b9fd67d45df22d360dd72d7c353cc (patch)
tree5a23f86b3ee9b77728dbe4cde6915d54bbed2cc9 /content/content.h
parentb116f20cd4d75f539164a0e858272145d99e4e6d (diff)
downloadnetsurf-1bdcb446392b9fd67d45df22d360dd72d7c353cc.tar.gz
netsurf-1bdcb446392b9fd67d45df22d360dd72d7c353cc.tar.bz2
[project @ 2004-01-24 17:08:15 by bursa]
Add permitted_types to html_fetch_object(). svn path=/import/netsurf/; revision=500
Diffstat (limited to 'content/content.h')
-rw-r--r--content/content.h33
1 files changed, 1 insertions, 32 deletions
diff --git a/content/content.h b/content/content.h
index d5adf1a6f..7235011a4 100644
--- a/content/content.h
+++ b/content/content.h
@@ -28,6 +28,7 @@
#include "libxml/HTMLparser.h"
#include "netsurf/utils/config.h"
#include "netsurf/content/cache.h"
+#include "netsurf/content/content_type.h"
#include "netsurf/content/fetch.h"
#include "netsurf/content/other.h"
#include "netsurf/css/css.h"
@@ -56,38 +57,6 @@
#endif
-/** The type of a content. */
-typedef enum {
- CONTENT_HTML,
- CONTENT_TEXTPLAIN,
-#ifdef riscos
-#ifdef WITH_JPEG
- CONTENT_JPEG,
-#endif
-#endif
- CONTENT_CSS,
-#ifdef riscos
-#ifdef WITH_PNG
- CONTENT_PNG,
-#endif
-#ifdef WITH_GIF
- CONTENT_GIF,
-#endif
-#ifdef WITH_SPRITE
- CONTENT_SPRITE,
-#endif
-#ifdef WITH_DRAW
- CONTENT_DRAW,
-#endif
-#ifdef WITH_PLUGIN
- CONTENT_PLUGIN,
-#endif
-#endif
- CONTENT_OTHER,
- CONTENT_UNKNOWN /**< content-type not received yet */
-} content_type;
-
-
/** Used in callbacks to indicate what has occurred. */
typedef enum {
CONTENT_MSG_LOADING, /**< fetching or converting */