|
1 /* |
|
2 * Copyright (c) 2002-2004 Nokia Corporation and/or its subsidiary(-ies). |
|
3 * All rights reserved. |
|
4 * This component and the accompanying materials are made available |
|
5 * under the terms of "Eclipse Public License v1.0"" |
|
6 * which accompanies this distribution, and is available |
|
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 * |
|
9 * Initial Contributors: |
|
10 * Nokia Corporation - initial contribution. |
|
11 * |
|
12 * Contributors: |
|
13 * |
|
14 * Description: |
|
15 * Provides global enumerations. |
|
16 * |
|
17 */ |
|
18 |
|
19 |
|
20 |
|
21 |
|
22 |
|
23 |
|
24 |
|
25 |
|
26 |
|
27 |
|
28 |
|
29 #ifndef __AKN_FEP_UI_INDIC_ENUMS_H__ |
|
30 #define __AKN_FEP_UI_INDIC_ENUMS_H__ |
|
31 |
|
32 enum TIndicInputResponse |
|
33 { |
|
34 /*causes the default input. New Case will rather be applied*/ |
|
35 EIndicInputResponseNone, |
|
36 /*forces the input to the number. This will happen in case we |
|
37 try to add modifier without the preceeding consonant being a vowel, |
|
38 consonant or a modified consonant*/ |
|
39 EIndicInputResponseNumber, |
|
40 /*When VIRAMA is inserted in the already entered text between two consonants, |
|
41 then to we need to insert ZWS (Zero Width Space U+200B) so as to prevent |
|
42 the incorrect joining*/ |
|
43 EIndicInputResponseInsertZWS, |
|
44 /*When ligature is formed while editing in middle of the word with the help of "*" key |
|
45 we need to handle it so that it should not form a ligature and a explicit halant |
|
46 is entered in the text*/ |
|
47 EIndicInputResponseInsertZWSandLigature, |
|
48 /*causes the user to input ligature by explicitly appending VIRAMA*/ |
|
49 EIndicInputResponseZWSandCharacter, |
|
50 /*an error input. not currently used but can be used later*/ |
|
51 EIndicInputResponseIgnore, |
|
52 /*Response for Repha insertion*/ |
|
53 EIndicInputResponseInsertRepha, |
|
54 /*Response for Rakar insertion*/ |
|
55 EIndicInputResponseInsertRakar, |
|
56 /*Response for ligature insertion*/ |
|
57 EIndicInputResponseInsertDirectLigature, |
|
58 /*Response for Virama, ZWS and ligature insertion*/ |
|
59 EIndicInputResponseInsertViramaZWSandDirectLigature, |
|
60 /*Response for ZWS and ligature insertion*/ |
|
61 EIndicInputResponseZWSandDirectLigature, |
|
62 /*Response for invalid input*/ |
|
63 EIndicInputResponseInvalid, |
|
64 #ifdef RD_HINDI_PHONETIC_INPUT |
|
65 /*causes the inputting of transliterated text returned by PtiEngine in Multitap mode*/ |
|
66 EIndicInputResponsePhoneticMultitapText, |
|
67 /*causes the inputting of transliterated text returned by PtiEngine in Qwerty mode*/ |
|
68 EIndicInputResponsePhoneticQwertyText, |
|
69 #endif |
|
70 |
|
71 #ifdef RD_MARATHI |
|
72 /*Response for Eye Lash Ra insertion*/ |
|
73 EIndicInputResponseInsertEyeLashRa, |
|
74 /*Response for Chandra A insertion*/ |
|
75 EIndicInputResponseInsertChandraA, |
|
76 #endif // RD_MARATHI |
|
77 |
|
78 /* not used*/ |
|
79 EindicInputResponseLast |
|
80 }; |
|
81 |
|
82 enum TIndicBaseCharacter |
|
83 { |
|
84 EIndicBaseVowel, |
|
85 EIndicBaseConsonant |
|
86 }; |
|
87 //Changing ZWS to ZWNJ for time being, Latter the variable names need to be changed. |
|
88 #define ZERO_WIDTH_SPACE 0x200C |
|
89 #define MAX_SYLABLE_BOUNDRY 12 |
|
90 #define ZERO_WIDTH_JOINER 0x200D |
|
91 #endif //__AKN_FEP_UI_INDIC_ENUMS_H__ |
|
92 // End of file |