source: trunk/src/emx/include/ulsitem.h@ 302

Last change on this file since 302 was 213, checked in by zap, 22 years ago

o Added OS/2 Unicode API headers and import file.
o Modified most standard functions in .s files to use the _std_ prefix.
o Fixed c_alias.a build rules so that it uses the correct c.a file (either

debug or optimized depending on build mode).

  • Property cvs2svn:cvs-rev set to 1.1
  • Property svn:eol-style set to native
  • Property svn:executable set to *
File size: 1.7 KB
Line 
1/*
2 * Legalesy-free Unicode API interface for OS/2
3 * Defines for use with UniQueryLocaleItem
4 *
5 * Written by Andrew Zabolotny <bit@eltech.ru>
6 *
7 * This file is put into public domain. You are free to do
8 * literally anything you wish with it: modify, print, sell,
9 * rent, eat, throw out of window: in all (esp. in later)
10 * cases I am not responsible for any damage it causes.
11 */
12
13#ifndef __ULSITEM_H__
14#define __ULSITEM_H__
15
16typedef int LocaleItem;
17
18#define D_T_FMT 1
19#define D_FMT 2
20#define T_FMT 3
21#define AM_STR 4
22#define PM_STR 5
23
24#define ABDAY_1 6
25#define ABDAY_2 7
26#define ABDAY_3 8
27#define ABDAY_4 9
28#define ABDAY_5 10
29#define ABDAY_6 11
30#define ABDAY_7 12
31
32#define DAY_1 13
33#define DAY_2 14
34#define DAY_3 15
35#define DAY_4 16
36#define DAY_5 17
37#define DAY_6 18
38#define DAY_7 19
39
40#define ABMON_1 20
41#define ABMON_2 21
42#define ABMON_3 22
43#define ABMON_4 23
44#define ABMON_5 24
45#define ABMON_6 25
46#define ABMON_7 26
47#define ABMON_8 27
48#define ABMON_9 28
49#define ABMON_10 29
50#define ABMON_11 30
51#define ABMON_12 31
52
53#define MON_1 32
54#define MON_2 33
55#define MON_3 34
56#define MON_4 35
57#define MON_5 36
58#define MON_6 37
59#define MON_7 38
60#define MON_8 39
61#define MON_9 40
62#define MON_10 41
63#define MON_11 42
64#define MON_12 43
65
66#define RADIXCHAR 44
67#define THOUSEP 45
68#define YESSTR 46
69#define NOSTR 47
70#define CRNCYSTR 48
71#define CODESET 49
72
73/* Additional constants defined in XPG4 */
74
75#define T_FMT_AMPM 55
76#define ERA 56
77#define ERA_D_FMT 57
78#define ERA_D_T_FMT 58
79#define ERA_T_FMT 59
80#define ALT_DIGITS 60
81#define YESEXPR 61
82#define NOEXPR 62
83
84/* LSA feature */
85#define DATESEP 63
86#define TIMESEP 64
87#define LISTSEP 65
88
89#endif /* __ULSITEM_H__ */
Note: See TracBrowser for help on using the repository browser.