examples/SFExamples/Wikipedia/inc/BrowserView.h

00001 // 
00002 // Copyright (c) 2002-2009 Nokia Corporation and/or its subsidiary(-ies).
00003 // All rights reserved.
00004 // This component and the accompanying materials are made available
00005 // under the terms of the License "Eclipse Public License v1.0"
00006 // which accompanies this distribution, and is available
00007 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
00008 // 
00009 // Initial Contributors:
00010 // Nokia Corporation - initial contribution.
00011 // 
00012 // Contributors:
00013 // 
00014 // Description:
00015 // 
00016 
00017 
00018 
00019 #ifndef __BROWSER_VIEW_H__
00020 #define __BROWSER_VIEW_H__
00021 
00022 // INCLUDES
00023 #include <aknview.h>
00024 
00025 // FORWARD DECLARATION
00026 class CBrowserContainer;
00027 
00028 // CLASS DECLARATION
00029 
00036 class CBrowserView: public CAknView
00037     {
00038     public:
00044             TUid Id() const;
00045     
00051         void HandleCommandL( TInt aCommand );
00052         
00059         void HandleSizeChange( TInt aType );
00060         
00068         void DoActivateL( const TVwsViewId& aPrevViewId,
00069                           TUid aCustomMessageId,
00070                           const TDesC8& aCustomMessage );
00071 
00078         void DoDeactivate();
00079         
00080     protected:
00081         
00087         virtual void ConstructContainerL() = 0;
00088     
00089     private: // From MEikMenuObserver   
00095                 void DynInitMenuPaneL( TInt aResourceId, CEikMenuPane *aMenuPane );   
00096     
00097     protected:    // Data
00102             CBrowserContainer* iContainer;
00103     
00105         TUid       iIdentifier;
00106     };
00107 
00108 #endif // __BROWSER_VIEW_H__
00109 
00110 // End of File

Generated by  doxygen 1.6.2