summaryrefslogtreecommitdiff
path: root/content/content.h
diff options
context:
space:
mode:
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 */