home *** CD-ROM | disk | FTP | other *** search
/ Geek Gadgets 1 / ADE-1.bin / ade-dist / at-inc-bin.lha / os-include / prefs / locale.h < prev    next >
C/C++ Source or Header  |  1993-10-15  |  2KB  |  99 lines

  1. #ifndef PREFS_LOCALE_H
  2. #define PREFS_LOCALE_H
  3. /*
  4. **    $VER: locale.h 38.4 (5.12.91)
  5. **    Includes Release 40.15
  6. **
  7. **    File format for locale preferences
  8. **
  9. **    (C) Copyright 1991-1993 Commodore-Amiga, Inc.
  10. **    All Rights Reserved
  11. */
  12.  
  13. /*****************************************************************************/
  14.  
  15.  
  16. #ifndef EXEC_TYPES_H
  17. #include <exec/types.h>
  18. #endif
  19.  
  20. #ifndef LIBRARIES_IFFPARSE_H
  21. #include <libraries/iffparse.h>
  22. #endif
  23.  
  24.  
  25. /*****************************************************************************/
  26.  
  27.  
  28. #define ID_LCLE MAKE_ID('L','C','L','E')
  29. #define ID_CTRY MAKE_ID('C','T','R','Y')
  30.  
  31.  
  32. struct CountryPrefs
  33. {
  34.     ULONG cp_Reserved[4];
  35.     ULONG cp_CountryCode;
  36.     ULONG cp_TelephoneCode;
  37.     UBYTE cp_MeasuringSystem;
  38.  
  39.     char  cp_DateTimeFormat[80];
  40.     char  cp_DateFormat[40];
  41.     char  cp_TimeFormat[40];
  42.  
  43.     char  cp_ShortDateTimeFormat[80];
  44.     char  cp_ShortDateFormat[40];
  45.     char  cp_ShortTimeFormat[40];
  46.  
  47.     /* for numeric values */
  48.     char  cp_DecimalPoint[10];
  49.     char  cp_GroupSeparator[10];
  50.     char  cp_FracGroupSeparator[10];
  51.     UBYTE cp_Grouping[10];
  52.     UBYTE cp_FracGrouping[10];
  53.  
  54.     /* for monetary values */
  55.     char  cp_MonDecimalPoint[10];
  56.     char  cp_MonGroupSeparator[10];
  57.     char  cp_MonFracGroupSeparator[10];
  58.     UBYTE cp_MonGrouping[10];
  59.     UBYTE cp_MonFracGrouping[10];
  60.     UBYTE cp_MonFracDigits;
  61.     UBYTE cp_MonIntFracDigits;
  62.  
  63.     /* for currency symbols */
  64.     char  cp_MonCS[10];
  65.     char  cp_MonSmallCS[10];
  66.     char  cp_MonIntCS[10];
  67.  
  68.     /* for positive monetary values */
  69.     char  cp_MonPositiveSign[10];
  70.     UBYTE cp_MonPositiveSpaceSep;
  71.     UBYTE cp_MonPositiveSignPos;
  72.     UBYTE cp_MonPositiveCSPos;
  73.  
  74.     /* for negative monetary values */
  75.     char  cp_MonNegativeSign[10];
  76.     UBYTE cp_MonNegativeSpaceSep;
  77.     UBYTE cp_MonNegativeSignPos;
  78.     UBYTE cp_MonNegativeCSPos;
  79.  
  80.     UBYTE cp_CalendarType;
  81. };
  82.  
  83.  
  84. struct LocalePrefs
  85. {
  86.     ULONG        lp_Reserved[4];
  87.     char        lp_CountryName[32];
  88.     char        lp_PreferredLanguages[10][30];
  89.     LONG        lp_GMTOffset;
  90.     ULONG        lp_Flags;
  91.     struct CountryPrefs lp_CountryData;
  92. };
  93.  
  94.  
  95. /*****************************************************************************/
  96.  
  97.  
  98. #endif /* PREFS_LOCALE_H */
  99.