/*
* Copyright (c) 2005 Nokia Corporation and/or its subsidiary(-ies).
* All rights reserved.
* This component and the accompanying materials are made available
* under the terms of "Eclipse Public License v1.0"
* which accompanies this distribution, and is available
* at the URL "http://www.eclipse.org/legal/epl-v10.html".
*
* Initial Contributors:
* Nokia Corporation - initial contribution.
*
* Contributors:
*
* Description:
*
*/
#ifndef AVKONVIEWEXAMPLEVIEW3_H
#define AVKONVIEWEXAMPLEVIEW3_H
// INCLUDES
#include <aknview.h>
#include "cenrepeditormodel.h"
// CONSTANTS
// UID of view
const TUid KViewId3 = {3};
// FORWARD DECLARATIONS
class CCenrepEditorView3Container;
// CLASS DECLARATION
/**
* CCenrepEditorView1 view class.
*
*/
class CCenrepEditorView3 : public CAknView
{
public: // Constructors and destructor
/**
* EPOC default constructor.
*/
void ConstructL();
/**
* Destructor.
*/
~CCenrepEditorView3();
public: // Functions from base classes
/**
* From CAknView returns Uid of View
* @return TUid uid of the view
*/
TUid Id() const;
/**
* From MEikMenuObserver delegate commands from the menu
* @param aCommand a command emitted by the menu
* @return void
*/
void HandleCommandL(TInt aCommand);
/**
* From CAknView reaction if size change
* @return void
*/
void HandleClientRectChange();
protected :
private:
/**
* From CAknView activate the view
* @param aPrevViewId
* @param aCustomMessageId
* @param aCustomMessage
* @return void
*/
void DoActivateL(const TVwsViewId& aPrevViewId,TUid aCustomMessageId,
const TDesC8& aCustomMessage);
/**
* From CAknView deactivate the view (free resources)
* @return void
*/
void DoDeactivate();
private: // Data
CCenrepEditorView3Container* iContainer;
};
#endif
// End of File