diff -r 000000000000 -r f0cf47e981f9 tsrc/CenrepEditor/inc/cenrepeditorview1.h --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/tsrc/CenrepEditor/inc/cenrepeditorview1.h Thu Dec 17 08:44:37 2009 +0200 @@ -0,0 +1,101 @@ +/* +* 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 AVKONVIEWEXAMPLEVIEW_H +#define AVKONVIEWEXAMPLEVIEW_H + +// INCLUDES +#include +#include "cenrepeditormodel.h" + +// CONSTANTS +// UID of view +const TUid KViewId1 = {1}; + +// FORWARD DECLARATIONS +class CCenrepEditorView1Container; + +// CLASS DECLARATION + +/** +* CCenrepEditorView1 view class. +* +*/ +class CCenrepEditorView1 : public CAknView + { + public: // Constructors and destructor + + /** + * EPOC default constructor. + */ + void ConstructL(); + + /** + * Destructor. + */ + ~CCenrepEditorView1(); + + 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(); + + + CCenrepEditorView1Container * CCenrepEditorView1::Container(); + + 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 + CCenrepEditorView1Container* iContainer; + }; + +#endif + +// End of File