~ubuntu-branches/debian/sid/geany-plugins/sid

« back to all changes in this revision

Viewing changes to geanylatex/src/latexencodings.h

  • Committer: Bazaar Package Importer
  • Author(s): Chow Loong Jin
  • Date: 2009-07-10 22:56:41 UTC
  • Revision ID: james.westby@ubuntu.com-20090710225641-xc1126t7pq0jmpos
Tags: upstream-0.17.1
ImportĀ upstreamĀ versionĀ 0.17.1

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
/*
 
2
 *      latexencodings.h
 
3
 *
 
4
 *      Copyright 2008 Frank Lanitz <frank(at)frank(dot)uvena(dot)de>
 
5
 *
 
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.
 
10
 *
 
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.
 
15
 *
 
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.
 
20
 */
 
21
 
 
22
#ifndef LATEXEXCODINGS_H
 
23
#define LATEXEXCODINGS_H
 
24
 
 
25
 
 
26
typedef enum
 
27
{
 
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;
 
42
 
 
43
 
 
44
typedef struct
 
45
{
 
46
        LaTeXEncodingIndex charset;
 
47
        gchar *name;
 
48
        gchar *latex;
 
49
        gint geany_enc;
 
50
} LaTeXEncodings;
 
51
 
 
52
extern LaTeXEncodings latex_encodings[LATEX_ENCODINGS_MAX];
 
53
 
 
54
void glatex_init_encodings_latex(void);
 
55
 
 
56
#endif