gwenhywfar
5.9.0
gwenhywfar5
gwenhywfar
i18n.h
Go to the documentation of this file.
1
/***************************************************************************
2
$RCSfile$
3
-------------------
4
cvs : $Id$
5
begin : Fri Sep 12 2003
6
copyright : (C) 2003 by Martin Preuss
7
email : martin@libchipcard.de
8
9
***************************************************************************
10
* *
11
* This library is free software; you can redistribute it and/or *
12
* modify it under the terms of the GNU Lesser General Public *
13
* License as published by the Free Software Foundation; either *
14
* version 2.1 of the License, or (at your option) any later version. *
15
* *
16
* This library is distributed in the hope that it will be useful, *
17
* but WITHOUT ANY WARRANTY; without even the implied warranty of *
18
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
19
* Lesser General Public License for more details. *
20
* *
21
* You should have received a copy of the GNU Lesser General Public *
22
* License along with this library; if not, write to the Free Software *
23
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, *
24
* MA 02111-1307 USA *
25
* *
26
***************************************************************************/
27
28
29
#ifndef GWENHYWFAR_I18N_H
30
#define GWENHYWFAR_I18N_H
31
32
#include <
gwenhywfar/gwenhywfarapi.h
>
33
#include <
gwenhywfar/misc.h
>
34
#include <
gwenhywfar/misc2.h
>
35
#include <
gwenhywfar/xml.h
>
36
#include <
gwenhywfar/stringlist.h
>
37
38
39
40
#ifdef __cplusplus
41
extern
"C"
{
42
#endif
43
44
GWENHYWFAR_API
45
int
GWEN_I18N_SetLocale
(
const
char
*s);
46
51
GWENHYWFAR_API
52
GWEN_STRINGLIST
*
GWEN_I18N_GetCurrentLocaleList
(
void
);
53
54
GWENHYWFAR_API
55
const
char
*
GWEN_I18N_GetCurrentLocale
(
void
);
56
57
GWENHYWFAR_API
58
const
char
*
GWEN_I18N_Translate
(
const
char
*textdomain,
const
char
*text);
59
60
GWENHYWFAR_API
61
int
GWEN_I18N_BindTextDomain_Dir
(
const
char
*textdomain,
const
char
*folder);
62
63
GWENHYWFAR_API
64
int
GWEN_I18N_BindTextDomain_Codeset
(
const
char
*textdomain,
const
char
*cs);
65
66
#ifdef __cplusplus
67
}
68
#endif
69
70
71
72
73
#endif
74
75
76
77
GWEN_I18N_BindTextDomain_Codeset
GWENHYWFAR_API int GWEN_I18N_BindTextDomain_Codeset(const char *textdomain, const char *cs)
GWEN_I18N_SetLocale
GWENHYWFAR_API int GWEN_I18N_SetLocale(const char *s)
GWEN_STRINGLIST
struct GWEN_STRINGLISTSTRUCT GWEN_STRINGLIST
Definition:
stringlist.h:56
xml.h
GWEN_I18N_GetCurrentLocale
const GWENHYWFAR_API char * GWEN_I18N_GetCurrentLocale(void)
misc.h
GWEN_I18N_GetCurrentLocaleList
GWENHYWFAR_API GWEN_STRINGLIST * GWEN_I18N_GetCurrentLocaleList(void)
GWEN_I18N_BindTextDomain_Dir
GWENHYWFAR_API int GWEN_I18N_BindTextDomain_Dir(const char *textdomain, const char *folder)
gwenhywfarapi.h
GWENHYWFAR_API
#define GWENHYWFAR_API
Definition:
gwenhywfarapi.h:67
stringlist.h
GWEN_I18N_Translate
const GWENHYWFAR_API char * GWEN_I18N_Translate(const char *textdomain, const char *text)
misc2.h
Generated by
1.8.17