project_files/hwc/rtl/Types.h
author koda
Sun, 09 Jun 2013 12:22:53 +0200
branchwebgl
changeset 9160 fc46e75f6b72
parent 8047 25a4daa6473c
child 10015 4feced261c68
permissions -rw-r--r--
update with default
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
7983
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     1
#ifndef _TYPES_H_
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     2
#define _TYPES_H_
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     3
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     4
#include "pas2c.h"
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     5
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     6
/*
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     7
 * Not very useful currently
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     8
 */
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
     9
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    10
typedef double TDate;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    11
typedef double TTime;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    12
typedef double TDateTime;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    13
typedef string255 TMonthNameArray[13];
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    14
typedef string255 TWeekNameArray[8];
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    15
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    16
typedef struct {
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    17
    Byte CurrencyFormat;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    18
    Byte NegCurrFormat;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    19
    Char ThousandSeparator;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    20
    Char DecimalSeparator;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    21
    Byte CurrencyDecimals;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    22
    Char DateSeparator;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    23
    Char TimeSeparator;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    24
    Char ListSeparator;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    25
    string255 CurrencyString;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    26
    string255 ShortDateFormat;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    27
    string255 LongDateFormat;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    28
    string255 TimeAMString;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    29
    string255 TimePMString;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    30
    string255 ShortTimeFormat;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    31
    string255 LongTimeFormat;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    32
    TMonthNameArray ShortMonthNames;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    33
    TMonthNameArray LongMonthNames;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    34
    TWeekNameArray ShortDayNames;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    35
    TWeekNameArray LongDayNames;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    36
    Word TwoDigitYearCenturyWindow;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    37
}TFormatSettings;
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    38
02f36c3e7f6c add xymeng's rtl port
koda
parents:
diff changeset
    39
#endif