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