classicui_pub/slider_api/tsrc/inc/testsdksliderprotectedclass.h
changeset 0 2f259fa3e83a
equal deleted inserted replaced
-1:000000000000 0:2f259fa3e83a
       
     1 /*
       
     2 * Copyright (c) 2002 - 2007 Nokia Corporation and/or its subsidiary(-ies).
       
     3 * All rights reserved.
       
     4 * This component and the accompanying materials are made available
       
     5 * under the terms of "Eclipse Public License v1.0"
       
     6 * which accompanies this distribution, and is available
       
     7 * at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     8 *
       
     9 * Initial Contributors:
       
    10 * Nokia Corporation - initial contribution.
       
    11 *
       
    12 * Contributors:
       
    13 *
       
    14 * Description:  slider_api
       
    15 *
       
    16 */
       
    17 
       
    18 #ifndef C_TESTSDKSLIDERPROTECTEDCLASS_H
       
    19 #define C_TESTSDKSLIDERPROTECTEDCLASS_H
       
    20 
       
    21 //  INCLUDES
       
    22 #include <aknslider.h>
       
    23 #include "testsdkslider.h"
       
    24 /**
       
    25 *  CTestSDKSlider test class for STIF Test Framework TestScripter.
       
    26 *  @since S60 5.0
       
    27 */
       
    28 class CTestSDKSlider;
       
    29 class CTestAknSlider : public CAknSlider
       
    30     {
       
    31     friend class CTestSDKSlider;
       
    32 public:
       
    33     // Constructors
       
    34      CTestAknSlider();
       
    35     // Functions from base classes
       
    36      /**
       
    37       * MinimumSize test method.
       
    38       * @since S60 5.0
       
    39       * @param aItem Script line containing parameters.
       
    40       * @return Symbian OS error code.
       
    41       */
       
    42      TSize MinimumSize();
       
    43      /**
       
    44       * OfferKeyEventL test method.
       
    45       * @since S60 5.0
       
    46       * @param aItem Script line containing parameters.
       
    47       * @return Symbian OS error code.
       
    48       */
       
    49      TKeyResponse OfferKeyEventL( const TKeyEvent& aKeyEvent,
       
    50                                       TEventCode aType );
       
    51      /**
       
    52       * Draw test method.
       
    53       * @since S60 5.0
       
    54       * @param aItem Script line containing parameters.
       
    55       * @return Symbian OS error code.
       
    56       */
       
    57      void Draw( const TRect& aRect ) const;
       
    58      /**
       
    59       * Draw test SizeChanged.
       
    60       * @since S60 5.0
       
    61       * @param aItem Script line containing parameters.
       
    62       * @return Symbian OS error code.
       
    63       */
       
    64      void SizeChanged(); 
       
    65 
       
    66     };
       
    67 
       
    68 #endif //C_TESTSDKSLIDERPROTECTEDCLASS_H
       
    69