From 1bdcb446392b9fd67d45df22d360dd72d7c353cc Mon Sep 17 00:00:00 2001 From: James Bursa Date: Sat, 24 Jan 2004 17:08:16 +0000 Subject: [project @ 2004-01-24 17:08:15 by bursa] Add permitted_types to html_fetch_object(). svn path=/import/netsurf/; revision=500 --- content/content.h | 33 +-------------------------------- 1 file changed, 1 insertion(+), 32 deletions(-) (limited to 'content/content.h') 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 */ -- cgit v1.2.3