diff -r 000000000000 -r 2f259fa3e83a classicui_pub/slider_api/tsrc/inc/testsdksliderprotectedclass.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/classicui_pub/slider_api/tsrc/inc/testsdksliderprotectedclass.h Tue Feb 02 01:00:49 2010 +0200 @@ -0,0 +1,69 @@ +/* +* Copyright (c) 2002 - 2007 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: slider_api +* +*/ + +#ifndef C_TESTSDKSLIDERPROTECTEDCLASS_H +#define C_TESTSDKSLIDERPROTECTEDCLASS_H + +// INCLUDES +#include +#include "testsdkslider.h" +/** +* CTestSDKSlider test class for STIF Test Framework TestScripter. +* @since S60 5.0 +*/ +class CTestSDKSlider; +class CTestAknSlider : public CAknSlider + { + friend class CTestSDKSlider; +public: + // Constructors + CTestAknSlider(); + // Functions from base classes + /** + * MinimumSize test method. + * @since S60 5.0 + * @param aItem Script line containing parameters. + * @return Symbian OS error code. + */ + TSize MinimumSize(); + /** + * OfferKeyEventL test method. + * @since S60 5.0 + * @param aItem Script line containing parameters. + * @return Symbian OS error code. + */ + TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent, + TEventCode aType ); + /** + * Draw test method. + * @since S60 5.0 + * @param aItem Script line containing parameters. + * @return Symbian OS error code. + */ + void Draw( const TRect& aRect ) const; + /** + * Draw test SizeChanged. + * @since S60 5.0 + * @param aItem Script line containing parameters. + * @return Symbian OS error code. + */ + void SizeChanged(); + + }; + +#endif //C_TESTSDKSLIDERPROTECTEDCLASS_H +