home *** CD-ROM | disk | FTP | other *** search
/ Power GUI Programming with VisualAge C++ / powergui.iso / trialva / ibmcppw / include / langinfo.h < prev    next >
Encoding:
C/C++ Source or Header  |  1996-02-20  |  4.9 KB  |  118 lines

  1. #pragma info( none )
  2. #ifndef __CHKHDR__
  3.    #pragma info( none )
  4. #endif
  5. #pragma info( restore )
  6.  
  7. #ifndef __langinfo_h
  8.    #define __langinfo_h
  9.  
  10.    #ifdef __cplusplus
  11.       extern "C" {
  12.    #endif
  13.  
  14.    #ifndef  _LNK_CONV
  15.          #define  _LNK_CONV   _Optlink
  16.    #endif
  17.  
  18.    #ifndef _IMPORT
  19.       #ifdef __IMPORTLIB__
  20.          #define _IMPORT _Import
  21.       #else
  22.          #define _IMPORT
  23.       #endif
  24.    #endif
  25.  
  26.    /********************************************************************/
  27.    /*  <langinfo.h> header file                                        */
  28.    /*                                                                  */
  29.    /*  VisualAge for C++ for Windows, Version 3.5                      */
  30.    /*    Licensed Material - Property of IBM                           */
  31.    /*                                                                  */
  32.    /*  5801-ARR and Other Materials                                    */
  33.    /*                                                                  */
  34.    /*  (c) Copyright IBM Corp 1991, 1996. All rights reserved.         */
  35.    /*                                                                  */
  36.    /********************************************************************/
  37.  
  38.    #include "nl_types.h"
  39.  
  40.    #define CODESET    1  /* codeset name */
  41.    #define D_T_FMT    2  /* string for formatting date and time */
  42.    #define D_FMT      3  /* string for formatting date */
  43.    #define T_FMT      4  /* string for formatting time */
  44.    #define T_FMT_AMPM 5  /* string for am or pm file format */
  45.    #define AM_STR     6  /* string for a.m. */
  46.    #define PM_STR     7  /* string for p.m. */
  47.  
  48.    #define ABDAY_1    8  /* abbreviated first day of the week (Sun) */
  49.    #define ABDAY_2    9  /* abbreviated second day of the week (Mon) */
  50.    #define ABDAY_3   10  /* abbreviated third day of the week (Tue) */
  51.    #define ABDAY_4   11  /* abbreviated fourth day of the week (Wed) */
  52.    #define ABDAY_5   12  /* abbreviated fifth day of the week (Thu) */
  53.    #define ABDAY_6   13  /* abbreviated sixth day of the week (Fri) */
  54.    #define ABDAY_7   14  /* abbreviated seventh day of the week (Sat) */
  55.  
  56.    #define DAY_1     15  /* name of the first day of the week (Sunday) */
  57.    #define DAY_2     16  /* name of the second day of the week (Monday) */
  58.    #define DAY_3     17  /* name of the third day of the week (Tuesday) */
  59.    #define DAY_4     18  /* name of the fourth day of the week (Wednesday) */
  60.    #define DAY_5     19  /* name of the fifth day of the week (Thursday) */
  61.    #define DAY_6     20  /* name of the sixth day of the week (Friday) */
  62.    #define DAY_7     21  /* name of the seventh day of the week (Saturday) */
  63.  
  64.    #define ABMON_1   22  /* abbreviated first month (Jan) */
  65.    #define ABMON_2   23  /* abbreviated second month (Feb) */
  66.    #define ABMON_3   24  /* abbreviated third month (Mar) */
  67.    #define ABMON_4   25  /* abbreviated fourth month (Apr) */
  68.    #define ABMON_5   26  /* abbreviated fifth month (May) */
  69.    #define ABMON_6   27  /* abbreviated sixth month (Jun) */
  70.    #define ABMON_7   28  /* abbreviated seventh month (Jul) */
  71.    #define ABMON_8   29  /* abbreviated eighth month (Aug) */
  72.    #define ABMON_9   30  /* abbreviated ninth month (Sep) */
  73.    #define ABMON_10  31  /* abbreviated tenth month (Oct) */
  74.    #define ABMON_11  32  /* abbreviated eleventh month (Nov) */
  75.    #define ABMON_12  33  /* abbreviated twelveth month (Dec) */
  76.  
  77.    #define MON_1     34  /* name of the first month (January) */
  78.    #define MON_2     35  /* name of the second month (February) */
  79.    #define MON_3     36  /* name of the third month (March) */
  80.    #define MON_4     37  /* name of the fourth month (April) */
  81.    #define MON_5     38  /* name of the fifth month (May) */
  82.    #define MON_6     39  /* name of the sixth month (June) */
  83.    #define MON_7     40  /* name of the seventh month (July) */
  84.    #define MON_8     41  /* name of the eighth month (August) */
  85.    #define MON_9     42  /* name of the ninth month (September) */
  86.    #define MON_10    43  /* name of the tenth month (October) */
  87.    #define MON_11    44  /* name of the eleventh month (November) */
  88.    #define MON_12    45  /* name of the twelfth month (December) */
  89.  
  90.    #define RADIXCHAR 46  /* radix character */
  91.    #define THOUSEP   47  /* separator for thousands */
  92.    #define YESEXPR   48  /* affirmative response for yes/no queries */
  93.    #define NOEXPR    49  /* negative response for yes/no queries */
  94.    #define CRNCYSTR  50  /* currency symbol; - leading, + trailing */
  95.  
  96.    #ifndef __NL_NUM_ITEMS
  97.    #define __NL_NUM_ITEMS 51
  98.    #endif
  99.    /**********
  100.    ** if this number changes, it MUST be changed
  101.    ** in localdef.h
  102.    **********/
  103.  
  104.    extern char * _LNK_CONV nl_langinfo(nl_item);
  105.  
  106.    #ifdef __cplusplus
  107.       }
  108.    #endif
  109.  
  110. #endif
  111.  
  112. #pragma info( none )
  113. #ifndef __CHKHDR__
  114.    #pragma info( restore )
  115. #endif
  116. #pragma info( restore )
  117.  
  118.