classicui_pub/slider_api/tsrc/inc/testsdksliderview.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_TESTSDKSLIDERVIEW_H
       
    19 #define C_TESTSDKSLIDERVIEW_H
       
    20 #include <aknview.h>
       
    21 
       
    22 class CSliderContainer;
       
    23 /**
       
    24  * view class
       
    25  */
       
    26 class CSliderView : public CAknView
       
    27     {
       
    28     
       
    29 public:
       
    30     /**
       
    31      * constructors
       
    32      */
       
    33     CSliderView();
       
    34     /**
       
    35      * Symbian 2nd constructor
       
    36      */
       
    37     static CSliderView* NewL();
       
    38     /**
       
    39      * Symbian 2nd constructor
       
    40      */
       
    41     static CSliderView* NewLC();        
       
    42     /**
       
    43      * Symbian 2nd constructor
       
    44      */
       
    45     void ConstructL();
       
    46     /**
       
    47      * Destructor
       
    48      */
       
    49     virtual ~CSliderView();
       
    50                         
       
    51     // from base class CAknView
       
    52     /**
       
    53      * Id
       
    54      */
       
    55     TUid Id() const;
       
    56     /**
       
    57      * HandleCommandL
       
    58      */
       
    59     void HandleCommandL( TInt aCommand );
       
    60     /**
       
    61      * CreateContainerL
       
    62      */
       
    63     CSliderContainer* CreateContainerL();
       
    64 
       
    65 protected:
       
    66     // from base class CAknView
       
    67     /**
       
    68      * DoActivateL
       
    69      */
       
    70     void DoActivateL(
       
    71         const TVwsViewId& aPrevViewId,
       
    72         TUid aCustomMessageId,
       
    73         const TDesC8& aCustomMessage );
       
    74     /**
       
    75      * DoDeactivate
       
    76      */
       
    77     void DoDeactivate();
       
    78     /**
       
    79      * HandleStatusPaneSizeChange
       
    80      */
       
    81     void HandleStatusPaneSizeChange();
       
    82 
       
    83 
       
    84 private:
       
    85     /**
       
    86      * SetupStatusPaneL
       
    87      */
       
    88     void SetupStatusPaneL();
       
    89     /**
       
    90      * CleanupStatusPane
       
    91      */
       
    92     void CleanupStatusPane();
       
    93     
       
    94  
       
    95     CSliderContainer* iSliderContainer;
       
    96 
       
    97     };
       
    98 
       
    99 #endif /*C_TESTSDKSLIDERVIEW_H*/