presage
0.9.1
Main Page
Classes
Files
File List
File Members
src
lib
core
charsets.h
Go to the documentation of this file.
1
2
/******************************************************
3
* Presage, an extensible predictive text entry system
4
* ---------------------------------------------------
5
*
6
* Copyright (C) 2008 Matteo Vescovi <matteo.vescovi@yahoo.co.uk>
7
8
This program is free software; you can redistribute it and/or modify
9
it under the terms of the GNU General Public License as published by
10
the Free Software Foundation; either version 2 of the License, or
11
(at your option) any later version.
12
13
This program is distributed in the hope that it will be useful,
14
but WITHOUT ANY WARRANTY; without even the implied warranty of
15
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16
GNU General Public License for more details.
17
18
You should have received a copy of the GNU General Public License along
19
with this program; if not, write to the Free Software Foundation, Inc.,
20
51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
21
*
22
**********(*)*/
23
24
25
#ifndef PRESAGE_CHARSETS
26
#define PRESAGE_CHARSETS
27
28
// ISO 8859-1 standard ///////////////////////
29
#include "
iso8859_1.h
"
30
31
32
// FIXME: ensure values are correct
33
const
char
RIGHT_ARROW
= 28;
34
const
char
LEFT_ARROW
= 29;
35
const
char
UP_ARROW
= 30;
36
const
char
DOWN_ARROW
= 31;
37
const
char
END
= 128;
// fix this!!!
38
const
char
HOME
= 128;
// <----------
39
const
char
BACKSPACE
=
'\b'
;
40
const
char
DELETE
= 18;
// ?
41
const
char
PAGE_UP
= 128;
42
const
char
PAGE_DOWN
= 128;
43
44
45
const
char
DEFAULT_WORD_CHARS
[]={
46
'A'
,
47
'B'
,
48
'C'
,
49
'D'
,
50
'E'
,
51
'F'
,
52
'G'
,
53
'H'
,
54
'I'
,
55
'J'
,
56
'K'
,
57
'L'
,
58
'M'
,
59
'N'
,
60
'O'
,
61
'P'
,
62
'Q'
,
63
'R'
,
64
'S'
,
65
'T'
,
66
'U'
,
67
'V'
,
68
'W'
,
69
'X'
,
70
'Y'
,
71
'Z'
,
72
'a'
,
73
'b'
,
74
'c'
,
75
'd'
,
76
'e'
,
77
'f'
,
78
'g'
,
79
'h'
,
80
'i'
,
81
'j'
,
82
'k'
,
83
'l'
,
84
'm'
,
85
'n'
,
86
'o'
,
87
'p'
,
88
'q'
,
89
'r'
,
90
's'
,
91
't'
,
92
'u'
,
93
'v'
,
94
'w'
,
95
'x'
,
96
'y'
,
97
'z'
,
98
'0'
,
99
'1'
,
100
'2'
,
101
'3'
,
102
'4'
,
103
'5'
,
104
'6'
,
105
'7'
,
106
'8'
,
107
'9'
,
108
109
Agrave
,
110
Aacute
,
111
Acirc
,
112
Atilde
,
113
Auml
,
114
Aring
,
115
AElig
,
116
Ccedil
,
117
Egrave
,
118
Eacute
,
119
Ecirc
,
120
Euml
,
121
Igrave
,
122
Iacute
,
123
Icirc
,
124
Iuml
,
125
ETH
,
126
Ntilde
,
127
Ograve
,
128
Oacute
,
129
Ocirc
,
130
Otilde
,
131
Ouml
,
132
times
,
133
Oslash
,
134
Ugrave
,
135
Uacute
,
136
Ucirc
,
137
Uuml
,
138
Yacute
,
139
THORN
,
140
szlig
,
141
agrave
,
142
aacute
,
143
acirc
,
144
atilde
,
145
auml
,
146
aring
,
147
aelig
,
148
ccedil
,
149
egrave
,
150
eacute
,
151
ecirc
,
152
euml
,
153
igrave
,
154
iacute
,
155
icirc
,
156
iuml
,
157
eth
,
158
ntilde
,
159
ograve
,
160
oacute
,
161
ocirc
,
162
otilde
,
163
ouml
,
164
divide
,
165
oslash
,
166
ugrave
,
167
uacute
,
168
ucirc
,
169
uuml
,
170
yacute
,
171
thorn
,
172
yuml
,
173
174
'\0'
};
175
176
const
char
DEFAULT_SEPARATOR_CHARS
[]={
177
'!'
,
178
'"'
,
179
'#'
,
180
'$'
,
181
'%'
,
182
'&'
,
183
'('
,
184
')'
,
185
'*'
,
186
'+'
,
187
','
,
188
'-'
,
189
'.'
,
190
'/'
,
191
':'
,
192
';'
,
193
'<'
,
194
'='
,
195
'>'
,
196
'?'
,
197
'@'
,
198
'['
,
199
'\\'
,
200
']'
,
201
'^'
,
202
'_'
,
203
'`'
,
204
'{'
,
205
'|'
,
206
'}'
,
207
'~'
,
208
'\0'
};
209
210
const
char
DEFAULT_BLANKSPACE_CHARS
[]={
211
' '
,
// space
212
'\f'
,
// form feed
213
'\n'
,
// newline
214
'\r'
,
// carriage return
215
'\t'
,
// horizontal tab
216
'\v'
,
// vertical tab
217
'\0'
};
218
219
const
char
DEFAULT_CONTROL_CHARS
[]={
220
RIGHT_ARROW
,
221
LEFT_ARROW
,
222
UP_ARROW
,
223
DOWN_ARROW
,
224
END
,
225
HOME
,
226
BACKSPACE
,
227
DELETE
,
228
PAGE_UP
,
229
PAGE_DOWN
,
230
'\0'
};
231
232
233
#endif // PRESAGE_CHARSETS
euml
const int euml
Definition:
iso8859_1.h:269
LEFT_ARROW
const char LEFT_ARROW
Definition:
charsets.h:34
DEFAULT_BLANKSPACE_CHARS
const char DEFAULT_BLANKSPACE_CHARS[]
Definition:
charsets.h:210
Oacute
const int Oacute
Definition:
iso8859_1.h:245
ccedil
const int ccedil
Definition:
iso8859_1.h:265
Ocirc
const int Ocirc
Definition:
iso8859_1.h:246
Iacute
const int Iacute
Definition:
iso8859_1.h:239
aring
const int aring
Definition:
iso8859_1.h:263
ntilde
const int ntilde
Definition:
iso8859_1.h:275
ugrave
const int ugrave
Definition:
iso8859_1.h:283
Uuml
const int Uuml
Definition:
iso8859_1.h:254
ouml
const int ouml
Definition:
iso8859_1.h:280
END
const char END
Definition:
charsets.h:37
yacute
const int yacute
Definition:
iso8859_1.h:287
Euml
const int Euml
Definition:
iso8859_1.h:237
PAGE_UP
const char PAGE_UP
Definition:
charsets.h:41
Igrave
const int Igrave
Definition:
iso8859_1.h:238
Yacute
const int Yacute
Definition:
iso8859_1.h:255
RIGHT_ARROW
const char RIGHT_ARROW
Definition:
charsets.h:33
Oslash
const int Oslash
Definition:
iso8859_1.h:250
icirc
const int icirc
Definition:
iso8859_1.h:272
Ucirc
const int Ucirc
Definition:
iso8859_1.h:253
eth
const int eth
Definition:
iso8859_1.h:274
yuml
const int yuml
Definition:
iso8859_1.h:289
UP_ARROW
const char UP_ARROW
Definition:
charsets.h:35
Agrave
const int Agrave
Definition:
iso8859_1.h:226
uuml
const int uuml
Definition:
iso8859_1.h:286
uacute
const int uacute
Definition:
iso8859_1.h:284
THORN
const int THORN
Definition:
iso8859_1.h:256
Eacute
const int Eacute
Definition:
iso8859_1.h:235
divide
const int divide
Definition:
iso8859_1.h:281
auml
const int auml
Definition:
iso8859_1.h:262
aelig
const int aelig
Definition:
iso8859_1.h:264
Uacute
const int Uacute
Definition:
iso8859_1.h:252
HOME
const char HOME
Definition:
charsets.h:38
oslash
const int oslash
Definition:
iso8859_1.h:282
igrave
const int igrave
Definition:
iso8859_1.h:270
BACKSPACE
const char BACKSPACE
Definition:
charsets.h:39
Egrave
const int Egrave
Definition:
iso8859_1.h:234
iuml
const int iuml
Definition:
iso8859_1.h:273
DEFAULT_WORD_CHARS
const char DEFAULT_WORD_CHARS[]
Definition:
charsets.h:45
Auml
const int Auml
Definition:
iso8859_1.h:230
AElig
const int AElig
Definition:
iso8859_1.h:232
iacute
const int iacute
Definition:
iso8859_1.h:271
oacute
const int oacute
Definition:
iso8859_1.h:277
Iuml
const int Iuml
Definition:
iso8859_1.h:241
Aacute
const int Aacute
Definition:
iso8859_1.h:227
egrave
const int egrave
Definition:
iso8859_1.h:266
Atilde
const int Atilde
Definition:
iso8859_1.h:229
Ouml
const int Ouml
Definition:
iso8859_1.h:248
ETH
const int ETH
Definition:
iso8859_1.h:242
Ccedil
const int Ccedil
Definition:
iso8859_1.h:233
ecirc
const int ecirc
Definition:
iso8859_1.h:268
iso8859_1.h
aacute
const int aacute
Definition:
iso8859_1.h:259
agrave
const int agrave
Definition:
iso8859_1.h:258
DELETE
const char DELETE
Definition:
charsets.h:40
Otilde
const int Otilde
Definition:
iso8859_1.h:247
otilde
const int otilde
Definition:
iso8859_1.h:279
ucirc
const int ucirc
Definition:
iso8859_1.h:285
Ecirc
const int Ecirc
Definition:
iso8859_1.h:236
eacute
const int eacute
Definition:
iso8859_1.h:267
PAGE_DOWN
const char PAGE_DOWN
Definition:
charsets.h:42
ograve
const int ograve
Definition:
iso8859_1.h:276
thorn
const int thorn
Definition:
iso8859_1.h:288
DOWN_ARROW
const char DOWN_ARROW
Definition:
charsets.h:36
DEFAULT_CONTROL_CHARS
const char DEFAULT_CONTROL_CHARS[]
Definition:
charsets.h:219
ocirc
const int ocirc
Definition:
iso8859_1.h:278
Ugrave
const int Ugrave
Definition:
iso8859_1.h:251
acirc
const int acirc
Definition:
iso8859_1.h:260
times
const int times
Definition:
iso8859_1.h:249
Ntilde
const int Ntilde
Definition:
iso8859_1.h:243
szlig
const int szlig
Definition:
iso8859_1.h:257
Acirc
const int Acirc
Definition:
iso8859_1.h:228
Aring
const int Aring
Definition:
iso8859_1.h:231
Ograve
const int Ograve
Definition:
iso8859_1.h:244
atilde
const int atilde
Definition:
iso8859_1.h:261
Icirc
const int Icirc
Definition:
iso8859_1.h:240
DEFAULT_SEPARATOR_CHARS
const char DEFAULT_SEPARATOR_CHARS[]
Definition:
charsets.h:176
Generated on Thu Jul 30 2015 19:05:24 for presage by
1.8.9.1