Subversion Repositories Kolibri OS

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
3584 sourcerer 1
/*
2
 * Copyright 2003 James Bursa 
3
 *
4
 * This file is part of NetSurf, http://www.netsurf-browser.org/
5
 *
6
 * NetSurf is free software; you can redistribute it and/or modify
7
 * it under the terms of the GNU General Public License as published by
8
 * the Free Software Foundation; version 2 of the License.
9
 *
10
 * NetSurf is distributed in the hope that it will be useful,
11
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
 * GNU General Public License for more details.
14
 *
15
 * You should have received a copy of the GNU General Public License
16
 * along with this program.  If not, see .
17
 */
18
 
19
/** \file
20
 * Declaration of content_type enum.
21
 *
22
 * The content_type enum is defined here to prevent cyclic dependencies.
23
 */
24
 
25
#ifndef _NETSURF_DESKTOP_CONTENT_TYPE_H_
26
#define _NETSURF_DESKTOP_CONTENT_TYPE_H_
27
 
28
#include "utils/config.h"
29
 
30
 
31
/** The type of a content. */
32
typedef enum {
33
	CONTENT_NONE		= 0x00,
34
 
35
	CONTENT_HTML		= 0x01,
36
	CONTENT_TEXTPLAIN	= 0x02,
37
	CONTENT_CSS		= 0x04,
38
 
39
	/** All images */
40
	CONTENT_IMAGE		= 0x08,
41
 
42
	/** Navigator API Plugins */
43
	CONTENT_PLUGIN		= 0x10,
44
 
45
	/** Themes (only GTK and RISC OS) */
46
	CONTENT_THEME		= 0x20,
47
 
48
	/** Javascript */
49
	CONTENT_JS		= 0x40,
50
	/** All script types. */
51
	CONTENT_SCRIPT		= 0x40,
52
 
53
	/** Any content matches */
54
	CONTENT_ANY		= 0x7f
55
} content_type;
56
 
57
 
58
#endif