|
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: data manager of split qwerty |
|
15 * |
|
16 */ |
|
17 |
|
18 |
|
19 #ifndef C_PENINPUTSPLITQWERTYDATAMGR_H |
|
20 #define C_PENINPUTSPLITQWERTYDATAMGR_H |
|
21 |
|
22 // System includes |
|
23 #include <e32base.h> |
|
24 #include <w32std.h> |
|
25 |
|
26 // User includes |
|
27 #include "peninputdatamgr.h" |
|
28 |
|
29 // Forward decalaration |
|
30 class MPeninputLayoutContext; |
|
31 |
|
32 /** |
|
33 * data management class of touch IME split qwerty |
|
34 * |
|
35 * @lib peninputsplitqwerty.lib |
|
36 * @since S60 v5.0 |
|
37 */ |
|
38 class CPeninputSplitQwertyDataMgr : public CPeninputDataMgr |
|
39 { |
|
40 |
|
41 public: |
|
42 |
|
43 /** |
|
44 * Symbian constructor |
|
45 * |
|
46 * @since S60 v5.0 |
|
47 * @param aContext The layout context |
|
48 * @return The pointer to created object |
|
49 */ |
|
50 static CPeninputSplitQwertyDataMgr* NewL( MPeninputLayoutContext* aContext ); |
|
51 |
|
52 /** |
|
53 * Symbian constructor |
|
54 * |
|
55 * @since S60 v5.0 |
|
56 * @param aContext The layout context |
|
57 * @return The pointer to created object |
|
58 */ |
|
59 static CPeninputSplitQwertyDataMgr* NewLC( MPeninputLayoutContext* aContext ); |
|
60 |
|
61 /** |
|
62 * C++ destructor |
|
63 * |
|
64 * @since S60 v5.0 |
|
65 * @return None |
|
66 */ |
|
67 virtual ~CPeninputSplitQwertyDataMgr(); |
|
68 |
|
69 public: // From base CPeninputDataMgr |
|
70 |
|
71 /** |
|
72 * From CPeninputDataMgr |
|
73 * Additional init |
|
74 * |
|
75 * @since S60 v5.0 |
|
76 * @return None |
|
77 */ |
|
78 void InitMore(); |
|
79 |
|
80 /** |
|
81 * From CPeninputDataMgr |
|
82 * Call back function, which is called when some key changed |
|
83 * |
|
84 * @since S60 v5.0 |
|
85 * @param aChangedKey The key whose value is changed |
|
86 * @return None |
|
87 */ |
|
88 void HandleGSRepositoryChange( TInt aChangedKey ); |
|
89 |
|
90 /** |
|
91 * From CPeninputDataMgr |
|
92 * Reset data contained in data manager |
|
93 * |
|
94 * @since S60 v5.0 |
|
95 * @return None |
|
96 */ |
|
97 void Reset(); |
|
98 |
|
99 protected: |
|
100 |
|
101 /** |
|
102 * C++ constructor |
|
103 * |
|
104 * @since S60 v5.0 |
|
105 * @param aContext The layout context |
|
106 * @return None |
|
107 */ |
|
108 CPeninputSplitQwertyDataMgr( MPeninputLayoutContext* aContext ); |
|
109 |
|
110 }; |
|
111 |
|
112 #endif // C_PENINPUTSPLITQWERTYDATAMGR_H |