7983
|
1 |
#ifndef _TYPES_H_
|
|
2 |
#define _TYPES_H_
|
|
3 |
|
|
4 |
#include "pas2c.h"
|
|
5 |
|
|
6 |
/*
|
|
7 |
* Not very useful currently
|
|
8 |
*/
|
|
9 |
|
|
10 |
typedef double TDate;
|
|
11 |
typedef double TTime;
|
|
12 |
typedef double TDateTime;
|
|
13 |
typedef string255 TMonthNameArray[13];
|
|
14 |
typedef string255 TWeekNameArray[8];
|
|
15 |
|
|
16 |
typedef struct {
|
|
17 |
Byte CurrencyFormat;
|
|
18 |
Byte NegCurrFormat;
|
|
19 |
Char ThousandSeparator;
|
|
20 |
Char DecimalSeparator;
|
|
21 |
Byte CurrencyDecimals;
|
|
22 |
Char DateSeparator;
|
|
23 |
Char TimeSeparator;
|
|
24 |
Char ListSeparator;
|
|
25 |
string255 CurrencyString;
|
|
26 |
string255 ShortDateFormat;
|
|
27 |
string255 LongDateFormat;
|
|
28 |
string255 TimeAMString;
|
|
29 |
string255 TimePMString;
|
|
30 |
string255 ShortTimeFormat;
|
|
31 |
string255 LongTimeFormat;
|
|
32 |
TMonthNameArray ShortMonthNames;
|
|
33 |
TMonthNameArray LongMonthNames;
|
|
34 |
TWeekNameArray ShortDayNames;
|
|
35 |
TWeekNameArray LongDayNames;
|
|
36 |
Word TwoDigitYearCenturyWindow;
|
|
37 |
}TFormatSettings;
|
|
38 |
|
|
39 |
#endif
|