|
1 /* |
|
2 * Copyright (c) 2002-2005 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: peninputgsinterface header file. |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_PENINPUTGSINTERFACE_H |
|
20 #define C_PENINPUTGSINTERFACE_H |
|
21 |
|
22 // INCLUDES |
|
23 #include <e32base.h> |
|
24 #include <ecom/ecom.h> |
|
25 |
|
26 /** |
|
27 * CPenInputGSInterface interface class |
|
28 * |
|
29 * This set of interfaces offers pen input settings. User can use this interface |
|
30 * to launch pen input settings directly not only its main view but also its four |
|
31 * setting pages which are "Pen input language", "Writing speed", "Pen trail width" |
|
32 * and "Pen trail colour". |
|
33 * |
|
34 * @lib gspeninputplugin.dll |
|
35 * @since S60 v3.2 |
|
36 */ |
|
37 class CPenInputGSInterface : public CBase |
|
38 { |
|
39 |
|
40 public: |
|
41 |
|
42 /** |
|
43 * Symbian constructor |
|
44 * |
|
45 * @since S60 v3.2 |
|
46 * @return Pointer to created CGSPenInputInterface object |
|
47 */ |
|
48 static CPenInputGSInterface* NewL(); |
|
49 |
|
50 /** |
|
51 * Destructor |
|
52 * |
|
53 * @since S60 v3.2 |
|
54 * @return None |
|
55 */ |
|
56 virtual ~CPenInputGSInterface(); |
|
57 |
|
58 // New |
|
59 |
|
60 /** |
|
61 * Dispaly input pen main view |
|
62 * |
|
63 * @since S60 v3.2 |
|
64 * @return None. |
|
65 */ |
|
66 virtual void ShowMainViewL() = 0; |
|
67 |
|
68 /** |
|
69 * Display "Pen input language" setting page |
|
70 * |
|
71 * @since S60 v3.2 |
|
72 * @return ETrue for setting change; otherwise EFalse |
|
73 */ |
|
74 virtual TBool ShowInputLanguagePageL() = 0; |
|
75 |
|
76 /** |
|
77 * Display "Input Mode" setting page |
|
78 * |
|
79 * @since S60 v3.2 |
|
80 * @return ETrue for setting change; otherwise EFalse |
|
81 */ |
|
82 virtual TBool ShowInputModePageL() = 0; |
|
83 |
|
84 /** |
|
85 * Display "Writing speed" setting page |
|
86 * |
|
87 * @since S60 v3.2 |
|
88 * @return ETrue for setting change; otherwise EFalse |
|
89 */ |
|
90 virtual TBool ShowWritingSpeedPageL() = 0; |
|
91 |
|
92 /** |
|
93 * Display "Guide Line" setting page |
|
94 * |
|
95 * @since S60 v3.2 |
|
96 * @return ETrue for setting change; otherwise EFalse |
|
97 */ |
|
98 virtual TBool ShowGuideLinePageL() = 0; |
|
99 |
|
100 /** |
|
101 * Display "Pen trail width" setting page |
|
102 * |
|
103 * @since S60 v3.2 |
|
104 * @return ETrue for setting change; otherwise EFalse |
|
105 */ |
|
106 virtual TBool ShowTrailWidthPageL() = 0; |
|
107 virtual TBool ShowRecognitionWithDictionaryL() = 0; |
|
108 |
|
109 /** |
|
110 * Display "Pen trail width" setting page |
|
111 * |
|
112 * @since S60 v3.2 |
|
113 * @return ETrue for setting change; otherwise EFalse |
|
114 */ |
|
115 virtual TBool ShowChineseFindMethodPageL() = 0; |
|
116 |
|
117 /** |
|
118 * Display "Pen trail colour" setting page |
|
119 * |
|
120 * @since S60 v3.2 |
|
121 * @return ETrue for setting change; otherwise EFalse |
|
122 */ |
|
123 virtual TBool ShowTrailColourPageL() = 0; |
|
124 |
|
125 private: |
|
126 |
|
127 /** |
|
128 * Instance identifier key |
|
129 */ |
|
130 TUid iDtor_ID_Key; |
|
131 |
|
132 }; |
|
133 |
|
134 #include "peninputgsinterface.inl" |
|
135 |
|
136 #endif // C_PENINPUTGSINTERFACE_H |
|
137 |
|
138 // End Of File |