classicui_pub/grids_api/tsrc/inc/testsdkgridsview.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:  Test grids_api
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef C_TESTSDKGRIDSVIEW_H
       
    20 #define C_TESTSDKGRIDSVIEW_H
       
    21 
       
    22 /*
       
    23  * Include files
       
    24  */
       
    25 #include <aknview.h>
       
    26 
       
    27 const TUid KBCTestGridsViewId = { 1 };
       
    28 
       
    29 class CTestSDKGridsContainer;
       
    30 
       
    31 /**
       
    32  *  Application UI class
       
    33  */
       
    34 class CTestSDKGridsView : public CAknView
       
    35     {
       
    36 public: 
       
    37 
       
    38     /**
       
    39      * Symbian static 2nd constructor
       
    40      */
       
    41     static CTestSDKGridsView* NewL();
       
    42     
       
    43     /**
       
    44      * dtor
       
    45      */
       
    46     virtual ~CTestSDKGridsView();
       
    47 
       
    48     /**
       
    49      * Return view Id.
       
    50      */
       
    51     TUid Id() const;
       
    52     
       
    53     /**
       
    54     * From CAknView, HandleCommandL.
       
    55     * @param aCommand Command to be handled.
       
    56     */
       
    57     void HandleCommandL( TInt aCommand );
       
    58     
       
    59 protected:
       
    60     
       
    61     /**
       
    62      * When view is activated, do something
       
    63      */
       
    64     void DoActivateL( const TVwsViewId&, TUid, const TDesC8& );
       
    65     
       
    66     /**
       
    67      * When view is deactivated, do something
       
    68      */
       
    69     void DoDeactivate();
       
    70 
       
    71 private: 
       
    72 
       
    73     /**
       
    74      * C++ default constructor
       
    75      */
       
    76     CTestSDKGridsView();
       
    77 
       
    78     /**
       
    79      * symbian 2nd ctor
       
    80      */
       
    81     void ConstructL();
       
    82 
       
    83 private: 
       
    84     /**
       
    85      * pointor to the container.
       
    86      * own
       
    87      */
       
    88     CTestSDKGridsContainer*  iContainer;
       
    89     };
       
    90 
       
    91 #endif /*TESTSDKGRIDSVIEW_H_*/
       
    92 
       
    93 /*
       
    94  * End file
       
    95  */