TypeConstants.h revision 29e8fa59
1/*
2 * Copyright 2005-2010 Haiku, Inc. All rights reserved.
3 * Distributed under the terms of the MIT License.
4 *
5 * Author:
6 *		Erik Jaesler (erik@cgsoftware.com)
7 */
8#ifndef _TYPE_CONSTANTS_H
9#define _TYPE_CONSTANTS_H
10
11
12#include <BeBuild.h>
13
14
15enum {
16	B_AFFINE_TRANSFORM_TYPE			= 'AMTX',
17	B_ALIGNMENT_TYPE				= 'ALGN',
18	B_ANY_TYPE						= 'ANYT',
19	B_ATOM_TYPE						= 'ATOM',
20	B_ATOMREF_TYPE					= 'ATMR',
21	B_BOOL_TYPE						= 'BOOL',
22	B_CHAR_TYPE						= 'CHAR',
23	B_COLOR_8_BIT_TYPE				= 'CLRB',
24	B_DOUBLE_TYPE					= 'DBLE',
25	B_FLOAT_TYPE					= 'FLOT',
26	B_GRAYSCALE_8_BIT_TYPE			= 'GRYB',
27	B_INT16_TYPE					= 'SHRT',
28	B_INT32_TYPE					= 'LONG',
29	B_INT64_TYPE					= 'LLNG',
30	B_INT8_TYPE						= 'BYTE',
31	B_LARGE_ICON_TYPE				= 'ICON',
32	B_MEDIA_PARAMETER_GROUP_TYPE	= 'BMCG',
33	B_MEDIA_PARAMETER_TYPE			= 'BMCT',
34	B_MEDIA_PARAMETER_WEB_TYPE		= 'BMCW',
35	B_MESSAGE_TYPE					= 'MSGG',
36	B_MESSENGER_TYPE				= 'MSNG',
37	B_MIME_TYPE						= 'MIME',
38	B_MINI_ICON_TYPE				= 'MICN',
39	B_MONOCHROME_1_BIT_TYPE			= 'MNOB',
40	B_OBJECT_TYPE					= 'OPTR',
41	B_OFF_T_TYPE					= 'OFFT',
42	B_PATTERN_TYPE					= 'PATN',
43	B_POINTER_TYPE					= 'PNTR',
44	B_POINT_TYPE					= 'BPNT',
45	B_PROPERTY_INFO_TYPE			= 'SCTD',
46	B_RAW_TYPE						= 'RAWT',
47	B_RECT_TYPE						= 'RECT',
48	B_REF_TYPE						= 'RREF',
49	B_RGB_32_BIT_TYPE				= 'RGBB',
50	B_RGB_COLOR_TYPE				= 'RGBC',
51	B_SIZE_TYPE						= 'SIZE',
52	B_SIZE_T_TYPE					= 'SIZT',
53	B_SSIZE_T_TYPE					= 'SSZT',
54	B_STRING_TYPE					= 'CSTR',
55	B_STRING_LIST_TYPE				= 'STRL',
56	B_TIME_TYPE						= 'TIME',
57	B_UINT16_TYPE					= 'USHT',
58	B_UINT32_TYPE					= 'ULNG',
59	B_UINT64_TYPE					= 'ULLG',
60	B_UINT8_TYPE					= 'UBYT',
61	B_VECTOR_ICON_TYPE				= 'VICN',
62	B_XATTR_TYPE					= 'XATR',
63	B_NETWORK_ADDRESS_TYPE			= 'NWAD',
64	B_MIME_STRING_TYPE				= 'MIMS',
65
66	/* deprecated, do not use */
67	B_ASCII_TYPE					= 'TEXT'
68		/* use B_STRING_TYPE instead */
69};
70
71/* System-wide MIME types for handling URL's */
72
73extern const char* B_URL_HTTP;
74	/* application/x-vnd.Be.URL.http */
75extern const char* B_URL_HTTPS;
76	/* application/x-vnd.Be.URL.https */
77extern const char* B_URL_FTP;
78	/*  application/x-vnd.Be.URL.ftp */
79extern const char* B_URL_GOPHER;
80	/*  application/x-vnd.Be.URL.gopher */
81extern const char* B_URL_MAILTO;
82	/*  application/x-vnd.Be.URL.mailto */
83extern const char* B_URL_NEWS;
84	/*  application/x-vnd.Be.URL.news */
85extern const char* B_URL_NNTP;
86	/*  application/x-vnd.Be.URL.nntp */
87extern const char* B_URL_TELNET;
88	/*  application/x-vnd.Be.URL.telnet */
89extern const char* B_URL_RLOGIN;
90	/*  application/x-vnd.Be.URL.rlogin */
91extern const char* B_URL_TN3270;
92	/*  application/x-vnd.Be.URL.tn3270 */
93extern const char* B_URL_WAIS;
94	/*  application/x-vnd.Be.URL.wais */
95extern const char* B_URL_FILE;
96	/*  application/x-vnd.Be.URL.file */
97
98
99#endif	/* _TYPE_CONSTANTS_H */
100