[174] | 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 Mller.
|
---|
| 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 |
|
---|
[235] | 59 | #ifdef XSTRING_HEADER_INCLUDED
|
---|
| 60 | ULONG XWPENTRY nlsReplaceEntities(PXSTRING pstr);
|
---|
| 61 | #endif
|
---|
| 62 |
|
---|
| 63 | VOID XWPENTRY nlsLoadString(ULONG ulID,
|
---|
| 64 | PSZ *ppsz,
|
---|
| 65 | PULONG pulLength);
|
---|
| 66 |
|
---|
[174] | 67 | PCSZ XWPENTRY nlsGetString(ULONG ulStringID);
|
---|
| 68 |
|
---|
| 69 |
|
---|
| 70 | #endif
|
---|
| 71 |
|
---|
| 72 | #if __cplusplus
|
---|
| 73 | }
|
---|
| 74 | #endif
|
---|
| 75 |
|
---|