00001 /* 00002 * go-locale.h: 00003 * 00004 * Copyright (C) 2007 Morten Welinder (terra@gnome.org) 00005 * Copyright (C) 2003-2005 Jody Goldberg (jody@gnome.org) 00006 * 00007 * This program is free software; you can redistribute it and/or 00008 * modify it under the terms of version 2 of the GNU General Public 00009 * License as published by the Free Software Foundation. 00010 * 00011 * This program is distributed in the hope that it will be useful, 00012 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00013 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00014 * GNU General Public License for more details. 00015 * 00016 * You should have received a copy of the GNU General Public License 00017 * along with this program; if not, write to the Free Software 00018 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 00019 * USA 00020 */ 00021 #ifndef GO_LOCALE_H 00022 #define GO_LOCALE_H 00023 00024 #include <glib.h> 00025 #include <locale.h> 00026 00027 G_BEGIN_DECLS 00028 00029 char const * go_setlocale (int category, char const *val); 00030 void go_locale_untranslated_booleans (void); 00031 00032 char const * go_locale_boolean_name (gboolean b); 00033 00034 GString const *go_locale_get_currency (gboolean *precedes, gboolean *space_sep); 00035 char go_locale_get_arg_sep (void); 00036 char go_locale_get_col_sep (void); 00037 char go_locale_get_row_sep (void); 00038 GString const *go_locale_get_thousand (void); 00039 GString const *go_locale_get_decimal (void); 00040 int go_locale_month_before_day (void); 00041 gboolean go_locale_24h (void); 00042 00043 GString const *go_locale_get_date_format (void); 00044 GString const *go_locale_get_time_format (void); 00045 00046 void _go_locale_shutdown (void); 00047 00048 G_END_DECLS 00049 00050 #endif /* GO_LOCALE_H */