15 * |
15 * |
16 */ |
16 */ |
17 |
17 |
18 |
18 |
19 // INCLUDE FILES |
19 // INCLUDE FILES |
20 #include <aknconfgesture.rsg> |
20 |
21 #include <akntextsettingpage.h> |
21 //#include "aknconfsettingitem.h" |
22 #include <centralrepository.h> |
|
23 |
|
24 #include "aknconfsettingitem.h" |
|
25 #include "aknconfgesturesettinglist.h" |
22 #include "aknconfgesturesettinglist.h" |
26 #include "aknconf.hrh" |
23 //#include "aknconf.hrh" |
27 #include "akntouchgesturefwcrkeys.h" |
24 //#include "akntouchgesturefwcrkeys.h" |
28 |
25 |
29 _LIT( KResourceFile, "\\resource\\apps\\aknconfgesture.rsc" ); |
26 //_LIT( KResourceFile, "\\resource\\apps\\aknconfgesture.rsc" ); |
30 |
27 |
31 // ============================ MEMBER FUNCTIONS =============================== |
28 // ============================ MEMBER FUNCTIONS =============================== |
32 |
29 |
33 // ----------------------------------------------------------------------------- |
30 // ----------------------------------------------------------------------------- |
34 // CAknConfGestureSettingList::NewL() |
31 // CAknConfGestureSettingList::NewL() |
56 // ----------------------------------------------------------------------------- |
53 // ----------------------------------------------------------------------------- |
57 // CAknConfGestureSettingList::ResetValues() |
54 // CAknConfGestureSettingList::ResetValues() |
58 // ----------------------------------------------------------------------------- |
55 // ----------------------------------------------------------------------------- |
59 // |
56 // |
60 void CAknConfGestureSettingList::ResetValues() |
57 void CAknConfGestureSettingList::ResetValues() |
61 { |
58 {/* |
62 if ( iCenRep ) |
59 if ( iCenRep ) |
63 { |
60 { |
64 iCenRep->Reset(); |
61 iCenRep->Reset(); |
65 TInt cenRepKey( -1 ); |
62 TInt cenRepKey( -1 ); |
66 ValueFromCenRep( EAknConfGestureSettingFlickBuffer, cenRepKey ); |
63 ValueFromCenRep( EAknConfGestureSettingFlickBuffer, cenRepKey ); |
120 // ----------------------------------------------------------------------------- |
117 // ----------------------------------------------------------------------------- |
121 // CAknConfGestureSettingList::ConstructL() |
118 // CAknConfGestureSettingList::ConstructL() |
122 // ----------------------------------------------------------------------------- |
119 // ----------------------------------------------------------------------------- |
123 // |
120 // |
124 void CAknConfGestureSettingList::ConstructL() |
121 void CAknConfGestureSettingList::ConstructL() |
125 { |
122 {/* |
126 CAknConfSettingList::ConstructL( |
123 CAknConfSettingList::ConstructL( |
127 KCRUidAknTouchGestureFwSettings, KResourceFile ); |
124 KCRUidAknTouchGestureFwSettings, KResourceFile ); |
128 CAknConfSettingList::ConstructFromResourceL( |
125 CAknConfSettingList::ConstructFromResourceL( |
129 R_AKNCONF_GESTURE_SETTINGITEMLIST ); |
126 R_AKNCONF_GESTURE_SETTINGITEMLIST ); |
130 } |
127 */} |
131 |
128 |
132 |
129 |
133 // ----------------------------------------------------------------------------- |
130 // ----------------------------------------------------------------------------- |
134 // CAknConfGestureSettingList::DataValuePointer() |
131 // CAknConfGestureSettingList::DataValuePointer() |
135 // ----------------------------------------------------------------------------- |
132 // ----------------------------------------------------------------------------- |
136 // |
133 // |
137 TInt* CAknConfGestureSettingList::DataValuePointer( const TInt& aId, TInt& aCenRepKey ) |
134 TInt* CAknConfGestureSettingList::DataValuePointer( const TInt& aId, TInt& aCenRepKey ) |
138 { |
135 { |
139 TInt* valuePtr( NULL ); |
136 TInt* valuePtr( NULL );/* |
140 switch ( aId ) |
137 switch ( aId ) |
141 { |
138 { |
142 case EAknConfGestureSettingTapThreshold: |
139 case EAknConfGestureSettingTapThreshold: |
143 valuePtr = &iTapThreshold; |
140 valuePtr = &iTapThreshold; |
144 aCenRepKey = KTapThreshold; |
141 aCenRepKey = KTapThreshold; |