gwenhywfar  5.11.1beta
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 
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 
45 int GWEN_I18N_SetLocale(const char *s);
46 
53 
55 const char *GWEN_I18N_GetCurrentLocale(void);
56 
58 const char *GWEN_I18N_Translate(const char *textdomain, const char *text);
59 
61 int GWEN_I18N_BindTextDomain_Dir(const char *textdomain, const char *folder);
62 
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 
#define GWENHYWFAR_API
Definition: gwenhywfarapi.h:67
GWENHYWFAR_API int GWEN_I18N_BindTextDomain_Codeset(const char *textdomain, const char *cs)
GWENHYWFAR_API int GWEN_I18N_BindTextDomain_Dir(const char *textdomain, const char *folder)
GWENHYWFAR_API GWEN_STRINGLIST * GWEN_I18N_GetCurrentLocaleList(void)
GWENHYWFAR_API const char * GWEN_I18N_GetCurrentLocale(void)
GWENHYWFAR_API int GWEN_I18N_SetLocale(const char *s)
GWENHYWFAR_API const char * GWEN_I18N_Translate(const char *textdomain, const char *text)
struct GWEN_STRINGLISTSTRUCT GWEN_STRINGLIST
Definition: stringlist.h:56