stifui/avkon/stifui/inc/StartedCasesMenuView.h
branchRCL_3
changeset 9 404ad6c9bc20
equal deleted inserted replaced
8:87e9ebfbe96a 9:404ad6c9bc20
       
     1 /*
       
     2 * Copyright (c) 2009 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: This file contains CStartedCasesMenuView class
       
    15 * declaration.
       
    16 *
       
    17 */
       
    18 
       
    19 #ifndef STARTEDCASESMENUVIEW_H
       
    20 #define STARTEDCASESMENUVIEW_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <eiklbo.h> // MEikListBoxObserver
       
    24 #include <aknnavide.h> 
       
    25 #include "View.h"
       
    26 
       
    27 
       
    28 // CONSTANTS
       
    29 
       
    30 // FORWARD DECLARATIONS
       
    31 class CStartedCasesMenuContainer;
       
    32 
       
    33 // CLASS DECLARATION
       
    34 
       
    35 /**
       
    36 *  CStartedCasesMenuView view class.
       
    37 * 
       
    38 */
       
    39 class CStartedCasesMenuView : public CView
       
    40     {
       
    41     public: // Constructors and destructor
       
    42 
       
    43         /**
       
    44         * Symbian OS default constructor.
       
    45         */
       
    46         void ConstructL();
       
    47 
       
    48         /**
       
    49         * Destructor.
       
    50         */
       
    51         ~CStartedCasesMenuView();
       
    52 
       
    53     public: // Functions from base classes
       
    54         
       
    55         /**
       
    56         * Returns view´s id.
       
    57         * @return View id.
       
    58         */
       
    59         TUid Id() const;
       
    60 
       
    61         /**
       
    62         * Handles a command.
       
    63         * @param aCommand A command ID.
       
    64         */
       
    65         void HandleCommandL( TInt aCommand );
       
    66 
       
    67         /**
       
    68         * Handles client rect changes.
       
    69         */
       
    70         void HandleClientRectChange();
       
    71 
       
    72     private:
       
    73 
       
    74         /**
       
    75         * Initializes view when activated.
       
    76         * @param aPrevViewId Id of the previous view (not used).
       
    77         * @param aCustomMessageId Custom message id (not used).
       
    78         * @param aCustomMessage Custom message (not used).
       
    79         */
       
    80         void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
       
    81             const TDesC8& aCustomMessage);
       
    82 
       
    83         /**
       
    84         * Deactivates view.
       
    85         */
       
    86         void DoDeactivate();
       
    87 
       
    88     private: // Data
       
    89         CAknNavigationDecorator*    iNaviDecorator;
       
    90         CStartedCasesMenuContainer* iContainer;
       
    91     };
       
    92 
       
    93 #endif
       
    94 
       
    95 // End of File