launcher/inc/launcherviewoutput.h
changeset 0 d6fe6244b863
child 11 454d022d514b
equal deleted inserted replaced
-1:000000000000 0:d6fe6244b863
       
     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:  
       
    15 *
       
    16 */
       
    17 
       
    18 
       
    19 #ifndef LAUNCHERVIEWOUTPUT_H
       
    20 #define LAUNCHERVIEWOUTPUT_H
       
    21 
       
    22 // INCLUDES
       
    23 #include <aknview.h>
       
    24 
       
    25 #include "LauncherEngine.h"
       
    26 
       
    27 // CONSTANTS
       
    28 // UID of view
       
    29 const TUid KView2Id = {2};
       
    30 
       
    31 // FORWARD DECLARATIONS
       
    32 class CLauncherContainerOutput;
       
    33 
       
    34 // CLASS DECLARATION
       
    35 
       
    36 /**
       
    37 *  CLauncherViewOutput view class.
       
    38 * 
       
    39 */
       
    40 class CLauncherViewOutput : public CAknView
       
    41     {
       
    42     public: // Constructors and destructor
       
    43 
       
    44         /**
       
    45         * EPOC default constructor.
       
    46         */
       
    47         void ConstructL(CLauncherEngine* aEngine);
       
    48 
       
    49         /**
       
    50         * Destructor.
       
    51         */
       
    52         ~CLauncherViewOutput();
       
    53 
       
    54     public: // Functions from base classes
       
    55         
       
    56         /**
       
    57         * From ?base_class ?member_description
       
    58         */
       
    59         TUid Id() const;
       
    60 
       
    61         /**
       
    62         * From ?base_class ?member_description
       
    63         */
       
    64         void HandleCommandL(TInt aCommand);
       
    65 
       
    66         /**
       
    67         * From ?base_class ?member_description
       
    68         */
       
    69         void HandleClientRectChange();
       
    70 
       
    71     private:
       
    72 
       
    73         void DynInitMenuPaneL(TInt aResourceId, CEikMenuPane* aMenuPane);
       
    74 
       
    75         /**
       
    76         * From AknView, ?member_description
       
    77         */
       
    78         void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
       
    79             const TDesC8& aCustomMessage);
       
    80 
       
    81         /**
       
    82         * From AknView, ?member_description
       
    83         */
       
    84         void DoDeactivate();
       
    85 
       
    86     private: // Data
       
    87         CLauncherContainerOutput* iContainer;
       
    88     };
       
    89 
       
    90 #endif
       
    91 
       
    92 // End of File