aboutsummaryrefslogtreecommitdiffstats
path: root/embed/mozilla/mozilla-i18n.h
blob: 5b5dbc321028517ac859d8ca70973a7d28d3c218 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
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