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