| 1 | /* ulsitem.h,v 1.3 2004/09/14 22:27:36 bird Exp */
|
|---|
| 2 | /** @file
|
|---|
| 3 | * IGCC.
|
|---|
| 4 | */
|
|---|
| 5 | /*
|
|---|
| 6 | * Legalesy-free Unicode API interface for OS/2
|
|---|
| 7 | * Defines for use with UniQueryLocaleItem
|
|---|
| 8 | *
|
|---|
| 9 | * Written by Andrew Zabolotny <bit@eltech.ru>
|
|---|
| 10 | *
|
|---|
| 11 | * This file is put into public domain. You are free to do
|
|---|
| 12 | * literally anything you wish with it: modify, print, sell,
|
|---|
| 13 | * rent, eat, throw out of window: in all (esp. in later)
|
|---|
| 14 | * cases I am not responsible for any damage it causes.
|
|---|
| 15 | */
|
|---|
| 16 |
|
|---|
| 17 | #ifndef __ULSITEM_H__
|
|---|
| 18 | #define __ULSITEM_H__
|
|---|
| 19 |
|
|---|
| 20 | typedef int LocaleItem;
|
|---|
| 21 |
|
|---|
| 22 | #define D_T_FMT 1
|
|---|
| 23 | #define D_FMT 2
|
|---|
| 24 | #define T_FMT 3
|
|---|
| 25 | #define AM_STR 4
|
|---|
| 26 | #define PM_STR 5
|
|---|
| 27 |
|
|---|
| 28 | #define ABDAY_1 6
|
|---|
| 29 | #define ABDAY_2 7
|
|---|
| 30 | #define ABDAY_3 8
|
|---|
| 31 | #define ABDAY_4 9
|
|---|
| 32 | #define ABDAY_5 10
|
|---|
| 33 | #define ABDAY_6 11
|
|---|
| 34 | #define ABDAY_7 12
|
|---|
| 35 |
|
|---|
| 36 | #define DAY_1 13
|
|---|
| 37 | #define DAY_2 14
|
|---|
| 38 | #define DAY_3 15
|
|---|
| 39 | #define DAY_4 16
|
|---|
| 40 | #define DAY_5 17
|
|---|
| 41 | #define DAY_6 18
|
|---|
| 42 | #define DAY_7 19
|
|---|
| 43 |
|
|---|
| 44 | #define ABMON_1 20
|
|---|
| 45 | #define ABMON_2 21
|
|---|
| 46 | #define ABMON_3 22
|
|---|
| 47 | #define ABMON_4 23
|
|---|
| 48 | #define ABMON_5 24
|
|---|
| 49 | #define ABMON_6 25
|
|---|
| 50 | #define ABMON_7 26
|
|---|
| 51 | #define ABMON_8 27
|
|---|
| 52 | #define ABMON_9 28
|
|---|
| 53 | #define ABMON_10 29
|
|---|
| 54 | #define ABMON_11 30
|
|---|
| 55 | #define ABMON_12 31
|
|---|
| 56 |
|
|---|
| 57 | #define MON_1 32
|
|---|
| 58 | #define MON_2 33
|
|---|
| 59 | #define MON_3 34
|
|---|
| 60 | #define MON_4 35
|
|---|
| 61 | #define MON_5 36
|
|---|
| 62 | #define MON_6 37
|
|---|
| 63 | #define MON_7 38
|
|---|
| 64 | #define MON_8 39
|
|---|
| 65 | #define MON_9 40
|
|---|
| 66 | #define MON_10 41
|
|---|
| 67 | #define MON_11 42
|
|---|
| 68 | #define MON_12 43
|
|---|
| 69 |
|
|---|
| 70 | #define RADIXCHAR 44
|
|---|
| 71 | #define THOUSEP 45
|
|---|
| 72 | #define YESSTR 46
|
|---|
| 73 | #define NOSTR 47
|
|---|
| 74 | #define CRNCYSTR 48
|
|---|
| 75 | #define CODESET 49
|
|---|
| 76 |
|
|---|
| 77 | /* Additional constants defined in XPG4 */
|
|---|
| 78 |
|
|---|
| 79 | #define T_FMT_AMPM 55
|
|---|
| 80 | #define ERA 56
|
|---|
| 81 | #define ERA_D_FMT 57
|
|---|
| 82 | #define ERA_D_T_FMT 58
|
|---|
| 83 | #define ERA_T_FMT 59
|
|---|
| 84 | #define ALT_DIGITS 60
|
|---|
| 85 | #define YESEXPR 61
|
|---|
| 86 | #define NOEXPR 62
|
|---|
| 87 |
|
|---|
| 88 | /* LSA feature */
|
|---|
| 89 | #define DATESEP 63
|
|---|
| 90 | #define TIMESEP 64
|
|---|
| 91 | #define LISTSEP 65
|
|---|
| 92 |
|
|---|
| 93 |
|
|---|
| 94 | /* OS/2 phun */
|
|---|
| 95 |
|
|---|
| 96 | #define LOCI_sDateTime D_T_FMT
|
|---|
| 97 | #define LOCI_sShortDate D_FMT
|
|---|
| 98 | #define LOCI_sTimeFormat T_FMT
|
|---|
| 99 | #define LOCI_s1159 AM_STR
|
|---|
| 100 | #define LOCI_s2359 PM_STR
|
|---|
| 101 | #define LOCI_sAbbrevDayName7 ABDAY_1
|
|---|
| 102 | #define LOCI_sAbbrevDayName1 ABDAY_2
|
|---|
| 103 | #define LOCI_sAbbrevDayName2 ABDAY_3
|
|---|
| 104 | #define LOCI_sAbbrevDayName3 ABDAY_4
|
|---|
| 105 | #define LOCI_sAbbrevDayName4 ABDAY_5
|
|---|
| 106 | #define LOCI_sAbbrevDayName5 ABDAY_6
|
|---|
| 107 | #define LOCI_sAbbrevDayName6 ABDAY_7
|
|---|
| 108 | #define LOCI_sDayName7 DAY_1
|
|---|
| 109 | #define LOCI_sDayName1 DAY_2
|
|---|
| 110 | #define LOCI_sDayName2 DAY_3
|
|---|
| 111 | #define LOCI_sDayName3 DAY_4
|
|---|
| 112 | #define LOCI_sDayName4 DAY_5
|
|---|
| 113 | #define LOCI_sDayName5 DAY_6
|
|---|
| 114 | #define LOCI_sDayName6 DAY_7
|
|---|
| 115 | #define LOCI_sAbbrevMonthName1 ABMON_1
|
|---|
| 116 | #define LOCI_sAbbrevMonthName2 ABMON_2
|
|---|
| 117 | #define LOCI_sAbbrevMonthName3 ABMON_3
|
|---|
| 118 | #define LOCI_sAbbrevMonthName4 ABMON_4
|
|---|
| 119 | #define LOCI_sAbbrevMonthName5 ABMON_5
|
|---|
| 120 | #define LOCI_sAbbrevMonthName6 ABMON_6
|
|---|
| 121 | #define LOCI_sAbbrevMonthName7 ABMON_7
|
|---|
| 122 | #define LOCI_sAbbrevMonthName8 ABMON_8
|
|---|
| 123 | #define LOCI_sAbbrevMonthName9 ABMON_9
|
|---|
| 124 | #define LOCI_sAbbrevMonthName10 ABMON_10
|
|---|
| 125 | #define LOCI_sAbbrevMonthName11 ABMON_11
|
|---|
| 126 | #define LOCI_sAbbrevMonthName12 ABMON_12
|
|---|
| 127 | #define LOCI_sMonthName1 MON_1
|
|---|
| 128 | #define LOCI_sMonthName2 MON_2
|
|---|
| 129 | #define LOCI_sMonthName3 MON_3
|
|---|
| 130 | #define LOCI_sMonthName4 MON_4
|
|---|
| 131 | #define LOCI_sMonthName5 MON_5
|
|---|
| 132 | #define LOCI_sMonthName6 MON_6
|
|---|
| 133 | #define LOCI_sMonthName7 MON_7
|
|---|
| 134 | #define LOCI_sMonthName8 MON_8
|
|---|
| 135 | #define LOCI_sMonthName9 MON_9
|
|---|
| 136 | #define LOCI_sMonthName10 MON_10
|
|---|
| 137 | #define LOCI_sMonthName11 MON_11
|
|---|
| 138 | #define LOCI_sMonthName12 MON_12
|
|---|
| 139 | #define LOCI_sDecimal RADIXCHAR
|
|---|
| 140 | #define LOCI_sThousand THOUSEP
|
|---|
| 141 | #define LOCI_sYesString YESSTR
|
|---|
| 142 | #define LOCI_sNoString NOSTR
|
|---|
| 143 | #define LOCI_sCurrency CRNCYSTR
|
|---|
| 144 | #define LOCI_sCodeSet CODESET
|
|---|
| 145 | #define LOCI_xLocaleToken 50
|
|---|
| 146 | #define LOCI_xWinLocale 51
|
|---|
| 147 | #define LOCI_iLocaleResnum 52
|
|---|
| 148 | #define LOCI_sNativeDigits 53
|
|---|
| 149 | #define LOCI_iMaxItem 54
|
|---|
| 150 | #define LOCI_sTimeMark T_FMT_AMPM
|
|---|
| 151 | #define LOCI_sEra ERA
|
|---|
| 152 | #define LOCI_sAltShortDate ERA_D_FMT
|
|---|
| 153 | #define LOCI_sAltDateTime ERA_D_T_FMT
|
|---|
| 154 | #define LOCI_sAltTimeFormat ERA_T_FMT
|
|---|
| 155 | #define LOCI_sAltDigits ALT_DIGITS
|
|---|
| 156 | #define LOCI_sYesExpr YESEXPR
|
|---|
| 157 | #define LOCI_sNoExpr NOEXPR
|
|---|
| 158 | #define LOCI_sDate DATESEP
|
|---|
| 159 | #define LOCI_sTime TIMESEP
|
|---|
| 160 | #define LOCI_sList LISTSEP
|
|---|
| 161 | #define LOCI_sMonDecimalSep 66
|
|---|
| 162 | #define LOCI_sMonThousandSep 67
|
|---|
| 163 | #define LOCI_sGrouping 68
|
|---|
| 164 | #define LOCI_sMonGrouping 69
|
|---|
| 165 | #define LOCI_iMeasure 70
|
|---|
| 166 | #define LOCI_iPaper 71
|
|---|
| 167 | #define LOCI_iDigits 72
|
|---|
| 168 | #define LOCI_iTime 73
|
|---|
| 169 | #define LOCI_iDate 74
|
|---|
| 170 | #define LOCI_iCurrency 75
|
|---|
| 171 | #define LOCI_iCurrDigits 76
|
|---|
| 172 | #define LOCI_iLzero 77
|
|---|
| 173 | #define LOCI_iNegNumber 78
|
|---|
| 174 | #define LOCI_iLDate 79
|
|---|
| 175 | #define LOCI_iCalendarType 80
|
|---|
| 176 | #define LOCI_iFirstDayOfWeek 81
|
|---|
| 177 | #define LOCI_iFirstWeekOfYear 82
|
|---|
| 178 | #define LOCI_iNegCurr 83
|
|---|
| 179 | #define LOCI_iTLzero 84
|
|---|
| 180 | #define LOCI_iTimePrefix 85
|
|---|
| 181 | #define LOCI_iOptionalCalendar 86
|
|---|
| 182 | #define LOCI_sIntlSymbol 87
|
|---|
| 183 | #define LOCI_sAbbrevLangName 88
|
|---|
| 184 | #define LOCI_sCollate 89
|
|---|
| 185 | #define LOCI_iUpperType 90
|
|---|
| 186 | #define LOCI_iUpperMissing 91
|
|---|
| 187 | #define LOCI_sPositiveSign 92
|
|---|
| 188 | #define LOCI_sNegativeSign 93
|
|---|
| 189 | #define LOCI_sLeftNegative 94
|
|---|
| 190 | #define LOCI_sRightNegative 95
|
|---|
| 191 | #define LOCI_sLongDate 96
|
|---|
| 192 | #define LOCI_sAltLongDate 97
|
|---|
| 193 | #define LOCI_sMonthName13 98
|
|---|
| 194 | #define LOCI_sAbbrevMonthName13 99
|
|---|
| 195 | #define LOCI_sName 100
|
|---|
| 196 | #define LOCI_sLanguageID 101
|
|---|
| 197 | #define LOCI_sCountryID 102
|
|---|
| 198 | #define LOCI_sEngLanguage 103
|
|---|
| 199 | #define LOCI_sLanguage 104
|
|---|
| 200 | #define LOCI_sEngCountry 105
|
|---|
| 201 | #define LOCI_sCountry 106
|
|---|
| 202 | #define LOCI_sNativeCtryName 107
|
|---|
| 203 | #define LOCI_iCountry 108
|
|---|
| 204 | #define LOCI_sISOCodepage 109
|
|---|
| 205 | #define LOCI_iAnsiCodepage 110
|
|---|
| 206 | #define LOCI_iCodepage 111
|
|---|
| 207 | #define LOCI_iAltCodepage 112
|
|---|
| 208 | #define LOCI_iMacCodepage 113
|
|---|
| 209 | #define LOCI_iEbcdicCodepage 114
|
|---|
| 210 | #define LOCI_sOtherCodepages 115
|
|---|
| 211 | #define LOCI_sSetCodepage 116
|
|---|
| 212 | #define LOCI_sKeyboard 117
|
|---|
| 213 | #define LOCI_sAltKeyboard 118
|
|---|
| 214 | #define LOCI_sSetKeyboard 119
|
|---|
| 215 | #define LOCI_sDebit 120
|
|---|
| 216 | #define LOCI_sCredit 121
|
|---|
| 217 | #define LOCI_sLatin1Locale 122
|
|---|
| 218 | #define LOCI_wTimeFormat 123
|
|---|
| 219 | #define LOCI_wShortDate 124
|
|---|
| 220 | #define LOCI_wLongDate 125
|
|---|
| 221 | #define LOCI_jISO3CountryName 126
|
|---|
| 222 | #define LOCI_jPercentPattern 127
|
|---|
| 223 | #define LOCI_jPercentSign 128
|
|---|
| 224 | #define LOCI_jExponent 129
|
|---|
| 225 | #define LOCI_jFullTimeFormat 130
|
|---|
| 226 | #define LOCI_jLongTimeFormat 131
|
|---|
| 227 | #define LOCI_jShortTimeFormat 132
|
|---|
| 228 | #define LOCI_jFullDateFormat 133
|
|---|
| 229 | #define LOCI_jMediumDateFormat 134
|
|---|
| 230 | #define LOCI_jDateTimePattern 135
|
|---|
| 231 | #define LOCI_jEraStrings 136
|
|---|
| 232 | #define LOCI_MAXITEM 136
|
|---|
| 233 | #define LOCI_NOUSEROVERRIDE 0x00008000
|
|---|
| 234 |
|
|---|
| 235 | #endif /* __ULSITEM_H__ */
|
|---|
| 236 |
|
|---|