home *** CD-ROM | disk | FTP | other *** search
/ OS/2 Shareware BBS: 10 Tools / 10-Tools.zip / xwphescr.zip / XWPH0208.ZIP / include / helpers / nlscache.h < prev    next >
C/C++ Source or Header  |  2002-06-14  |  2KB  |  68 lines

  1.  
  2. /*
  3.  *@@sourcefile nlscache.h:
  4.  *      header file for nlscache.c. See notes there.
  5.  *
  6.  *      Note: Version numbering in this file relates to XWorkplace version
  7.  *            numbering.
  8.  *
  9.  *@@include #define INCL_DOSDATETIME
  10.  *@@include #include <os2.h>
  11.  *@@include #include "helpers\nls.h"
  12.  */
  13.  
  14. /*
  15.  *      Copyright (C) 1997-2001 Ulrich Möller.
  16.  *      This file is part of the "XWorkplace helpers" source package.
  17.  *      This is free software; you can redistribute it and/or modify
  18.  *      it under the terms of the GNU General Public License as published
  19.  *      by the Free Software Foundation, in version 2 as it comes in the
  20.  *      "COPYING" file of the XWorkplace main distribution.
  21.  *      This program is distributed in the hope that it will be useful,
  22.  *      but WITHOUT ANY WARRANTY; without even the implied warranty of
  23.  *      MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
  24.  *      GNU General Public License for more details.
  25.  */
  26.  
  27. #if __cplusplus
  28. extern "C" {
  29. #endif
  30.  
  31. #ifndef NLSCACHE_HEADER_INCLUDED
  32.     #define NLSCACHE_HEADER_INCLUDED
  33.  
  34.     /* ******************************************************************
  35.      *
  36.      *   NLS strings
  37.      *
  38.      ********************************************************************/
  39.  
  40.     /*
  41.      *@@ STRINGENTITY:
  42.      *
  43.      *@@added V0.9.16 (2001-09-29) [umoeller]
  44.      */
  45.  
  46.     typedef struct _STRINGENTITY
  47.     {
  48.         PCSZ    pcszEntity;
  49.         PCSZ    *ppcszString;
  50.     } STRINGENTITY, *PSTRINGENTITY;
  51.  
  52.     typedef const struct _STRINGENTITY *PCSTRINGENTITY;
  53.  
  54.     VOID XWPENTRY nlsInitStrings(HAB hab,
  55.                                  HMODULE hmod,
  56.                                  PCSTRINGENTITY paEntities,
  57.                                  ULONG cEntities);
  58.  
  59.     PCSZ XWPENTRY nlsGetString(ULONG ulStringID);
  60.  
  61.  
  62. #endif
  63.  
  64. #if __cplusplus
  65. }
  66. #endif
  67.  
  68.