inc/NPRBrowserAknView.h
changeset 0 0049171ecffb
equal deleted inserted replaced
-1:000000000000 0:0049171ecffb
       
     1 /*
       
     2  ===============================================================================
       
     3  Name	: NPRBrowserAknView.h
       
     4  Author	: Symsource
       
     5  
       
     6  Copyright (c) 2009 Symbian Foundation Ltd
       
     7  This component and the accompanying materials are made available
       
     8  under the terms of the License "Eclipse Public License v1.0"
       
     9  which accompanies this distribution, and is available
       
    10  at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
    11 
       
    12  Initial Contributors:
       
    13  - Symsource
       
    14  
       
    15  Contributors:
       
    16  - Symsource
       
    17  
       
    18  Description : AknView for containing Nokia browser control to show NPR's Story 
       
    19  ================================================================================
       
    20  */
       
    21 
       
    22 #ifndef __NPR_BROWSER_AKN_VIEW_H__
       
    23 #define __NPR_BROWSER_AKN_VIEW_H__
       
    24 
       
    25 #include <aknview.h>
       
    26 
       
    27 class CBrowserContainer;
       
    28 class CNPRAppEngine;
       
    29 
       
    30 class CBrowserAknView : public CAknView
       
    31 	{
       
    32 public:
       
    33 	static CBrowserAknView* NewL(CNPRAppEngine& aEngine);
       
    34  	virtual ~CBrowserAknView();
       
    35 
       
    36 public:
       
    37 	TUid Id() const;
       
    38 	void HandleCommandL(TInt aCommand);
       
    39 		
       
    40 protected:
       
    41 	void DoActivateL(const TVwsViewId& aPrevViewId,	TUid aCustomMessageId, const TDesC8& aCustomMessage);
       
    42 	void DoDeactivate();
       
    43 	void HandleStatusPaneSizeChange();
       
    44 
       
    45 private:
       
    46 	CBrowserAknView(CNPRAppEngine& aEngine);
       
    47 	void ConstructL();
       
    48 
       
    49 private:	
       
    50 	CBrowserContainer*	iContainer;
       
    51 	CNPRAppEngine&		iEngine;
       
    52 	};
       
    53 
       
    54 #endif //  __NPR_BROWSER_AKN_VIEW_H__
       
    55