Tested and debugged ToolTypes.
[AROS.git] / compiler / include / prefs / locale.h
blob219599cf1460fd6ccc019bdb7c3a55555e406a27
1 #ifndef PREFS_LOCALE_H
2 #define PREFS_LOCALE_H
4 /*
5 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
6 $Id$
8 Desc: Locale prefs definitions
9 Lang: english
12 #ifndef EXEC_TYPES_H
13 # include <exec/types.h>
14 #endif
15 #ifndef LIBRARIES_IFFPARSE_H
16 # include <libraries/iffparse.h>
17 #endif
19 #define ID_LCLE MAKE_ID('L','C','L','E')
20 #define ID_CTRY MAKE_ID('C','T','R','Y')
22 struct CountryPrefs {
23 ULONG cp_Reserved[4];
25 ULONG cp_CountryCode;
26 ULONG cp_TelephoneCode;
27 UBYTE cp_MeasuringSystem;
29 char cp_DateTimeFormat[80];
30 char cp_DateFormat[40];
31 char cp_TimeFormat[40];
32 char cp_ShortDateTimeFormat[80];
33 char cp_ShortDateFormat[40];
34 char cp_ShortTimeFormat[40];
36 char cp_DecimalPoint[10];
37 char cp_GroupSeparator[10];
38 char cp_FracGroupSeparator[10];
39 UBYTE cp_Grouping[10];
40 UBYTE cp_FracGrouping[10];
41 char cp_MonDecimalPoint[10];
42 char cp_MonGroupSeparator[10];
43 char cp_MonFracGroupSeparator[10];
44 UBYTE cp_MonGrouping[10];
45 UBYTE cp_MonFracGrouping[10];
46 UBYTE cp_MonFracDigits;
47 UBYTE cp_MonIntFracDigits;
49 char cp_MonCS[10];
50 char cp_MonSmallCS[10];
51 char cp_MonIntCS[10];
53 char cp_MonPositiveSign[10];
54 UBYTE cp_MonPositiveSpaceSep;
55 UBYTE cp_MonPositiveSignPos;
56 UBYTE cp_MonPositiveCSPos;
57 char cp_MonNegativeSign[10];
58 UBYTE cp_MonNegativeSpaceSep;
59 UBYTE cp_MonNegativeSignPos;
60 UBYTE cp_MonNegativeCSPos;
62 UBYTE cp_CalendarType;
65 struct LocalePrefs {
66 ULONG lp_Reserved[4];
67 char lp_CountryName[32];
68 char lp_PreferredLanguages[10][30];
69 LONG lp_GMTOffset;
70 ULONG lp_Flags;
72 struct CountryPrefs lp_CountryData;
75 #endif /* PREFS_LOCALE_H */