Make plugin work together with API version 68 of Geany (arround svn r 2696)
[geanylatex.git] / latexencodings.h
blob9ebee28087977dbbf8dc0ff84f22785e7c9dfe33
1 /*
2 * latexencodings.h
4 * Copyright 2008 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
19 * MA 02110-1301, USA.
22 #ifndef LATEXEXCODINGS_H
23 #define LATEXEXCODINGS_H
26 typedef enum
28 LATEX_ENCODING_UTF_8 = 0,
29 LATEX_ENCODING_ASCII,
30 LATEX_ENCODING_ISO_8859_1,
31 LATEX_ENCODING_ISO_8859_2,
32 LATEX_ENCODING_ISO_8859_3,
33 LATEX_ENCODING_ISO_8859_4,
34 LATEX_ENCODING_ISO_8859_5,
35 LATEX_ENCODING_ISO_8859_9,
36 LATEX_ENCODING_ISO_8859_10,
37 LATEX_ENCODING_IBM_850,
38 LATEX_ENCODING_IBM_852,
39 LATEX_ENCODING_NONE,
40 LATEX_ENCODINGS_MAX
41 } LaTeXEncodingIndex;
44 typedef struct
46 LaTeXEncodingIndex charset;
47 gchar *name;
48 gchar *latex;
49 gint geany_enc;
50 } LaTeXEncodings;
52 LaTeXEncodings latex_encodings[LATEX_ENCODINGS_MAX];
54 void init_encodings_latex(void);
56 #endif