gwenhywfar
4.3.3
|
00001 /*************************************************************************** 00002 $RCSfile$ 00003 ------------------- 00004 cvs : $Id$ 00005 begin : Fri Sep 12 2003 00006 copyright : (C) 2003 by Martin Preuss 00007 email : martin@libchipcard.de 00008 00009 *************************************************************************** 00010 * * 00011 * This library is free software; you can redistribute it and/or * 00012 * modify it under the terms of the GNU Lesser General Public * 00013 * License as published by the Free Software Foundation; either * 00014 * version 2.1 of the License, or (at your option) any later version. * 00015 * * 00016 * This library is distributed in the hope that it will be useful, * 00017 * but WITHOUT ANY WARRANTY; without even the implied warranty of * 00018 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * 00019 * Lesser General Public License for more details. * 00020 * * 00021 * You should have received a copy of the GNU Lesser General Public * 00022 * License along with this library; if not, write to the Free Software * 00023 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * 00024 * MA 02111-1307 USA * 00025 * * 00026 ***************************************************************************/ 00027 00028 00029 #ifndef GWENHYWFAR_I18N_H 00030 #define GWENHYWFAR_I18N_H 00031 00032 #include <gwenhywfar/gwenhywfarapi.h> 00033 #include <gwenhywfar/misc.h> 00034 #include <gwenhywfar/misc2.h> 00035 #include <gwenhywfar/xml.h> 00036 #include <gwenhywfar/stringlist.h> 00037 00038 00039 00040 #ifdef __cplusplus 00041 extern "C" { 00042 #endif 00043 00044 GWENHYWFAR_API 00045 int GWEN_I18N_SetLocale(const char *s); 00046 00051 GWENHYWFAR_API 00052 GWEN_STRINGLIST *GWEN_I18N_GetCurrentLocaleList(void); 00053 00054 GWENHYWFAR_API 00055 const char *GWEN_I18N_GetCurrentLocale(void); 00056 00057 GWENHYWFAR_API 00058 const char *GWEN_I18N_Translate(const char *textdomain, const char *text); 00059 00060 GWENHYWFAR_API 00061 int GWEN_I18N_BindTextDomain_Dir(const char *textdomain, const char *folder); 00062 00063 GWENHYWFAR_API 00064 int GWEN_I18N_BindTextDomain_Codeset(const char *textdomain, const char *cs); 00065 00066 #ifdef __cplusplus 00067 } 00068 #endif 00069 00070 00071 00072 00073 #endif 00074 00075 00076 00077