00001 /* 00002 * This file is part of contentLister. 00003 * 00004 * contentLister is free software: you can redistribute it and/or modify 00005 * it under the terms of the GNU General Public License as published by 00006 * the Free Software Foundation, either version 2 of the License, or 00007 * (at your option) any later version. 00008 * 00009 * contentLister is distributed in the hope that it will be useful, 00010 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00011 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00012 * GNU General Public License for more details. 00013 * 00014 * You should have received a copy of the GNU General Public License 00015 * along with this program. If not, see <http://www.gnu.org/licenses/>. 00016 */ 00017 00026 /* contentLister - A GTK based content lister (read only) application on the eReader platform 00027 * Copyright (C) 2005-2008 iRex Technologies B.V. 00028 * 00029 */ 00030 #ifndef languages_h 00031 #define languages_h 00032 00033 00034 #ifdef __cplusplus 00035 extern "C" { 00036 #endif /* __cplusplus */ 00037 00038 #include "config.h" 00039 #include "gettext.h" 00040 00041 #define _(String) gettext (String) 00042 00043 #define DEFAULT_LOCALE "en_US" 00044 #define LOCALE_LIB_DIR "/usr/lib/locale" 00045 00046 00047 gboolean languageSelected(void); 00048 00056 void languagesInit(void); 00057 00065 const gchar *languagesGetLocale(void); 00066 00074 const gchar *languagesGetCountry(void); 00075 00083 const gchar *languagesGetDefaultCountry(void); 00084 00085 #ifdef __cplusplus 00086 } 00087 #endif /* __cplusplus */ 00088 00089 00090 #endif //languages_h