uifw/AvKon/aknconf/src/aknconfgesturesettinglist.cpp
branchRCL_3
changeset 19 aecbbf00d063
parent 0 2f259fa3e83a
child 20 d48ab3b357f1
equal deleted inserted replaced
18:fcdfafb36fe7 19:aecbbf00d063
    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 );
    87             cenRepKey );
    84             cenRepKey );
    88             
    85             
    89         TRAP_IGNORE( LoadSettingsL() );
    86         TRAP_IGNORE( LoadSettingsL() );
    90         DrawDeferred();
    87         DrawDeferred();
    91         }
    88         }
    92     }
    89     */}
    93 
    90 
    94 
    91 
    95 // -----------------------------------------------------------------------------
    92 // -----------------------------------------------------------------------------
    96 // CAknConfGestureSettingList::CAknConfGestureSettingList()
    93 // CAknConfGestureSettingList::CAknConfGestureSettingList()
    97 // -----------------------------------------------------------------------------
    94 // -----------------------------------------------------------------------------
   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;
   195             valuePtr = &iPinchMaximumConfirmationDuration;
   192             valuePtr = &iPinchMaximumConfirmationDuration;
   196             aCenRepKey = KPinchMaximumConfirmationDuration;
   193             aCenRepKey = KPinchMaximumConfirmationDuration;
   197             break;
   194             break;
   198         default:
   195         default:
   199             break;
   196             break;
   200         }
   197         }*/
   201     return valuePtr;
   198     return valuePtr;
   202     }
   199     }
   203 
   200 
   204 // End of File
   201 // End of File