Prevent overflow of the KernelBase->kb_Interrupts array when initialising IRQs. This...
[AROS.git] / compiler / include / prefs / locale.h
blobc1f56fe9f899baea1a2600fe3f4999e67c9db102
1 #ifndef PREFS_LOCALE_H
2 #define PREFS_LOCALE_H
4 /*
5 Copyright © 1995-2011, 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 RegionPrefs {
23 ULONG cp_Reserved[4];
25 ULONG cp_RegionCode;
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 #define CountryPrefs RegionPrefs
66 #define cp_CountryCode cp_RegionCode
68 struct LocalePrefs {
69 ULONG lp_Reserved[4];
70 char lp_RegionName[32];
71 char lp_PreferredLanguages[10][30];
72 LONG lp_GMTOffset;
73 ULONG lp_Flags; /* The same as loc_Flags in struct Locale */
75 struct CountryPrefs lp_RegionData;
78 #define lp_CountryName lp_RegionName
79 #define lp_CountryData lp_RegionData
81 #endif /* PREFS_LOCALE_H */