diff -r 000000000000 -r 2f259fa3e83a uifw/AvKon/aknconf/inc/aknconfgesturesettinglist.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/uifw/AvKon/aknconf/inc/aknconfgesturesettinglist.h Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,85 @@ +/* +* Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). +* All rights reserved. +* This component and the accompanying materials are made available +* under the terms of "Eclipse Public License v1.0" +* which accompanies this distribution, and is available +* at the URL "http://www.eclipse.org/legal/epl-v10.html". +* +* Initial Contributors: +* Nokia Corporation - initial contribution. +* +* Contributors: +* +* Description: AknConf setting list component + * +*/ + + +#ifndef C_AKNCONFGESTURESETTINGLIST_H +#define C_AKNCONFGESTURESETTINGLIST_H + + +#include "aknconfsettinglist.h" + +class CRepository; + +/** + * AknConf setting list component + */ +class CAknConfGestureSettingList : public CAknConfSettingList + { + +public: + + static CAknConfGestureSettingList* NewL(); + + /** + * Destructor. + */ + ~CAknConfGestureSettingList(); + + /** + * Resets the cenrep values to initial state. + */ + void ResetValues(); + +private: + + CAknConfGestureSettingList(); + + void ConstructL(); + + /** + * Returns the pointer to data value that corresponds the setting id. + * Provides also the setting cen rep key. + * + * @param aId ID to determine the type of the setting item. + * @param aCenRepKey Setting cen rep key. + * @return Pointer to data value. + */ + TInt* DataValuePointer( const TInt& aId, TInt& aCenRepKey ); + +private: + + /** + * Settings data values. + */ + TInt iTapThreshold; + TInt iLongTapThreshold; + TInt iDoubleTapThreshold; + TInt iDragThreshold; + TInt iFlickBuffer; + TInt iFlickSpeedThreshold; + TInt iFlickDetectionTime; + TInt iFlickChangeSensitivity; + TInt iPinchInitialThreshold; + TInt iPinchMovementThreshold; + TInt iPinchDirectionChangeSensitivity; + TInt iPinchDirectionResetSensitivity; + TInt iPinchDimensionThreshold; + TInt iPinchMaximumConfirmationDuration; + + }; + +#endif // C_AKNCONFGESTURESETTINGLIST_H