1 /* 2 * Copyright 2005-2007, 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 _FSSH_TYPE_CONSTANTS_H 9 #define _FSSH_TYPE_CONSTANTS_H 10 11 12 #include "fssh_defs.h" 13 14 15 enum { 16 FSSH_B_ANY_TYPE = 'ANYT', 17 FSSH_B_ATOM_TYPE = 'ATOM', 18 FSSH_B_ATOMREF_TYPE = 'ATMR', 19 FSSH_B_BOOL_TYPE = 'BOOL', 20 FSSH_B_CHAR_TYPE = 'CHAR', 21 FSSH_B_COLOR_8_BIT_TYPE = 'CLRB', 22 FSSH_B_DOUBLE_TYPE = 'DBLE', 23 FSSH_B_FLOAT_TYPE = 'FLOT', 24 FSSH_B_GRAYSCALE_8_BIT_TYPE = 'GRYB', 25 FSSH_B_INT16_TYPE = 'SHRT', 26 FSSH_B_INT32_TYPE = 'LONG', 27 FSSH_B_INT64_TYPE = 'LLNG', 28 FSSH_B_INT8_TYPE = 'BYTE', 29 FSSH_B_LARGE_ICON_TYPE = 'ICON', 30 FSSH_B_MEDIA_PARAMETER_GROUP_TYPE = 'BMCG', 31 FSSH_B_MEDIA_PARAMETER_TYPE = 'BMCT', 32 FSSH_B_MEDIA_PARAMETER_WEB_TYPE = 'BMCW', 33 FSSH_B_MESSAGE_TYPE = 'MSGG', 34 FSSH_B_MESSENGER_TYPE = 'MSNG', 35 FSSH_B_MIME_TYPE = 'MIME', 36 FSSH_B_MINI_ICON_TYPE = 'MICN', 37 FSSH_B_MONOCHROME_1_BIT_TYPE = 'MNOB', 38 FSSH_B_OBJECT_TYPE = 'OPTR', 39 FSSH_B_OFF_T_TYPE = 'OFFT', 40 FSSH_B_PATTERN_TYPE = 'PATN', 41 FSSH_B_POINTER_TYPE = 'PNTR', 42 FSSH_B_POINT_TYPE = 'BPNT', 43 FSSH_B_PROPERTY_INFO_TYPE = 'SCTD', 44 FSSH_B_RAW_TYPE = 'RAWT', 45 FSSH_B_RECT_TYPE = 'RECT', 46 FSSH_B_REF_TYPE = 'RREF', 47 FSSH_B_RGB_32_BIT_TYPE = 'RGBB', 48 FSSH_B_RGB_COLOR_TYPE = 'RGBC', 49 FSSH_B_SIZE_T_TYPE = 'SIZT', 50 FSSH_B_SSIZE_T_TYPE = 'SSZT', 51 FSSH_B_STRING_TYPE = 'CSTR', 52 FSSH_B_TIME_TYPE = 'TIME', 53 FSSH_B_UINT16_TYPE = 'USHT', 54 FSSH_B_UINT32_TYPE = 'ULNG', 55 FSSH_B_UINT64_TYPE = 'ULLG', 56 FSSH_B_UINT8_TYPE = 'UBYT', 57 FSSH_B_VECTOR_ICON_TYPE = 'VICN', 58 FSSH_B_XATTR_TYPE = 'XATR', 59 FSSH_B_NETWORK_ADDRESS_TYPE = 'NWAD', 60 FSSH_B_MIME_STRING_TYPE = 'MIMS', 61 62 // deprecated, do not use 63 FSSH_B_ASCII_TYPE = 'TEXT' // use B_STRING_TYPE instead 64 }; 65 66 //----- System-wide MIME types for handling URL's ------------------------------ 67 68 extern const char *FSSH_B_URL_HTTP; // application/x-vnd.Be.URL.http 69 extern const char *FSSH_B_URL_HTTPS; // application/x-vnd.Be.URL.https 70 extern const char *FSSH_B_URL_FTP; // application/x-vnd.Be.URL.ftp 71 extern const char *FSSH_B_URL_GOPHER; // application/x-vnd.Be.URL.gopher 72 extern const char *FSSH_B_URL_MAILTO; // application/x-vnd.Be.URL.mailto 73 extern const char *FSSH_B_URL_NEWS; // application/x-vnd.Be.URL.news 74 extern const char *FSSH_B_URL_NNTP; // application/x-vnd.Be.URL.nntp 75 extern const char *FSSH_B_URL_TELNET; // application/x-vnd.Be.URL.telnet 76 extern const char *FSSH_B_URL_RLOGIN; // application/x-vnd.Be.URL.rlogin 77 extern const char *FSSH_B_URL_TN3270; // application/x-vnd.Be.URL.tn3270 78 extern const char *FSSH_B_URL_WAIS; // application/x-vnd.Be.URL.wais 79 extern const char *FSSH_B_URL_FILE; // application/x-vnd.Be.URL.file 80 81 #endif // _FSSH_TYPE_CONSTANTS_H 82