a1200   NEWS   APPS   DOCS   ABOUT
a1200
----
a1200
----
Autodocs
Include
 classes
 clib
 datatypes
 devices
 diskfont
 dos
 exec
 gadgets
 graphics
 hardware
 images
 intuition
 libraries
 pragma
 pragmas
 prefs
  asl.h / .i
  font.h / .i
  icontrol.h / .i
  input.h / .i
  locale.h / .i
  overscan.h / .i
  palette.h / .i
  pointer.h / .i
  prefhdr.h / .i
  printergfx.h / .i
  printerps.h / .i
  printertxt.h / .i
  reaction.h
  screenmode.h / .i
  serial.h / .i
  sound.h / .i
  wbpattern.h / .i
  workbench.h / .i
 proto
 reaction
 resources
 rexx
 utility
 workbench
GuruMeditation
Docs » Include » prefs » locale.h / .i
#ifndef PREFS_LOCALE_H
#define PREFS_LOCALE_H
/*
**	$VER: locale.h 38.4 (5.12.1991)
**	Includes Release 45.1
**
**	File format for locale preferences
**
**	(C) Copyright 1991-2001 Amiga, Inc.
**	All Rights Reserved
*/

/*****************************************************************************/


#ifndef EXEC_TYPES_H
#include <exec/types.h>
#endif

#ifndef LIBRARIES_IFFPARSE_H
#include <libraries/iffparse.h>
#endif


/*****************************************************************************/


#define ID_LCLE MAKE_ID('L','C','L','E')
#define ID_CTRY MAKE_ID('C','T','R','Y')


struct CountryPrefs
{
    ULONG cp_Reserved[4];
    ULONG cp_CountryCode;
    ULONG cp_TelephoneCode;
    UBYTE cp_MeasuringSystem;

    char  cp_DateTimeFormat[80];
    char  cp_DateFormat[40];
    char  cp_TimeFormat[40];

    char  cp_ShortDateTimeFormat[80];
    char  cp_ShortDateFormat[40];
    char  cp_ShortTimeFormat[40];

    /* for numeric values */
    char  cp_DecimalPoint[10];
    char  cp_GroupSeparator[10];
    char  cp_FracGroupSeparator[10];
    UBYTE cp_Grouping[10];
    UBYTE cp_FracGrouping[10];

    /* for monetary values */
    char  cp_MonDecimalPoint[10];
    char  cp_MonGroupSeparator[10];
    char  cp_MonFracGroupSeparator[10];
    UBYTE cp_MonGrouping[10];
    UBYTE cp_MonFracGrouping[10];
    UBYTE cp_MonFracDigits;
    UBYTE cp_MonIntFracDigits;

    /* for currency symbols */
    char  cp_MonCS[10];
    char  cp_MonSmallCS[10];
    char  cp_MonIntCS[10];

    /* for positive monetary values */
    char  cp_MonPositiveSign[10];
    UBYTE cp_MonPositiveSpaceSep;
    UBYTE cp_MonPositiveSignPos;
    UBYTE cp_MonPositiveCSPos;

    /* for negative monetary values */
    char  cp_MonNegativeSign[10];
    UBYTE cp_MonNegativeSpaceSep;
    UBYTE cp_MonNegativeSignPos;
    UBYTE cp_MonNegativeCSPos;

    UBYTE cp_CalendarType;
};


struct LocalePrefs
{
    ULONG		lp_Reserved[4];
    char		lp_CountryName[32];
    char		lp_PreferredLanguages[10][30];
    LONG		lp_GMTOffset;
    ULONG		lp_Flags;
    struct CountryPrefs lp_CountryData;
};


/*****************************************************************************/


#endif /* PREFS_LOCALE_H */

Comments

Name:
E-mail: Use this if you want a message if you get a response, will not be shown.
Comment:
Select correct short for:

Rebels

RBS
KEF
ATX
FLT

Comments:

$VER: d0.se 1.14 Copyright © 2011-2024 Tobias Geijersson support at d0 dot se