tsrc/CenrepEditor/inc/cenrepeditorview3.h
changeset 15 ccd8e69b5392
parent 2 b31261fd4e04
child 20 e8be2c2e049d
child 22 496ad160a278
equal deleted inserted replaced
2:b31261fd4e04 15:ccd8e69b5392
     1 /*
       
     2 * Copyright (c) 2005 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 #ifndef AVKONVIEWEXAMPLEVIEW3_H
       
    19 #define AVKONVIEWEXAMPLEVIEW3_H
       
    20 
       
    21 // INCLUDES
       
    22 #include <aknview.h>
       
    23 #include  "cenrepeditormodel.h"
       
    24 
       
    25 // CONSTANTS
       
    26 // UID of view
       
    27 const TUid KViewId3 = {3};
       
    28 
       
    29 // FORWARD DECLARATIONS
       
    30 class CCenrepEditorView3Container;
       
    31 
       
    32 // CLASS DECLARATION
       
    33 
       
    34 /**
       
    35 *  CCenrepEditorView1 view class.
       
    36 * 
       
    37 */
       
    38 class CCenrepEditorView3 : public CAknView
       
    39     {
       
    40     public: // Constructors and destructor
       
    41 
       
    42         /**
       
    43         * EPOC default constructor.
       
    44         */
       
    45         void ConstructL();
       
    46 
       
    47         /**
       
    48         * Destructor.
       
    49         */
       
    50         ~CCenrepEditorView3();
       
    51 
       
    52 
       
    53     public: // Functions from base classes
       
    54         
       
    55         /**
       
    56         * From CAknView returns Uid of View
       
    57         * @return TUid uid of the view
       
    58         */
       
    59         TUid Id() const;
       
    60 
       
    61         /**
       
    62         * From MEikMenuObserver delegate commands from the menu
       
    63         * @param aCommand a command emitted by the menu 
       
    64         * @return void
       
    65         */
       
    66         void HandleCommandL(TInt aCommand);
       
    67 
       
    68         /**
       
    69         * From CAknView reaction if size change
       
    70         * @return void
       
    71         */
       
    72         void HandleClientRectChange();
       
    73 
       
    74     protected :
       
    75 
       
    76         
       
    77 
       
    78     private:
       
    79 
       
    80         /**
       
    81         * From CAknView activate the view
       
    82         * @param aPrevViewId 
       
    83         * @param aCustomMessageId 
       
    84         * @param aCustomMessage 
       
    85         * @return void
       
    86         */
       
    87         void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
       
    88             const TDesC8& aCustomMessage);
       
    89 
       
    90         /**
       
    91         * From CAknView deactivate the view (free resources)
       
    92         * @return void
       
    93         */
       
    94         void DoDeactivate();
       
    95 
       
    96     private: // Data
       
    97         CCenrepEditorView3Container* iContainer;
       
    98     };
       
    99 
       
   100 #endif
       
   101 
       
   102 // End of File