diff options
Diffstat (limited to 'embed/mozilla/mozilla-i18n.h')
-rw-r--r-- | embed/mozilla/mozilla-i18n.h | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/embed/mozilla/mozilla-i18n.h b/embed/mozilla/mozilla-i18n.h new file mode 100644 index 000000000..5b5dbc321 --- /dev/null +++ b/embed/mozilla/mozilla-i18n.h @@ -0,0 +1,60 @@ +/* + * Copyright (C) 2000 Marco Pesenti Gritti + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2, or (at your option) + * any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. + */ + +#include <glib.h> + +G_BEGIN_DECLS + +#define LANG_ENC_NUM 14 + +typedef enum { + LG_ARABIC, + LG_BALTIC, + LG_CENTRAL_EUROPEAN, + LG_CHINESE, + LG_CYRILLIC, + LG_GREEK, + LG_HEBREW, + LG_INDIAN, + LG_JAPANESE, + LG_KOREAN, + LG_TURKISH, + LG_UNICODE, + LG_VIETNAMESE, + LG_WESTERN, + LG_OTHER +} LanguageGroup; + +typedef struct { + char *charset_title; + char *charset_name; + LanguageGroup lgroup; +} CharsetInfoPriv; + +/* language groups names */ +extern const char *lgroups[]; +/* translated charset titles */ +extern const CharsetInfoPriv charset_trans_array[]; + +/* FIXME */ +extern const char *lang_encode_name[LANG_ENC_NUM]; +extern const char *lang_encode_item[LANG_ENC_NUM]; + +gint get_translated_cscount (void); + +G_END_DECLS |