inc/NPRSearchStationListBoxView.h
changeset 0 0049171ecffb
equal deleted inserted replaced
-1:000000000000 0:0049171ecffb
       
     1 /*
       
     2  ===================================================================================================
       
     3  Name	: NPRSearchStationListBoxView.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 wrapping the container to show the NPR's station search options
       
    19  ===================================================================================================
       
    20  */
       
    21 
       
    22 #ifndef __NPR_SEARCH_STATION_LIST_BOX_VIEW_H__
       
    23 #define __NPR_SEARCH_STATION_LIST_BOX_VIEW_H__
       
    24 
       
    25 #include <aknview.h>
       
    26 class CNPRSearchStationListBox;
       
    27 
       
    28 /**
       
    29  * Avkon view class for NPRSearchStationListBoxView. It is register with the view server
       
    30  * by the AppUi. It owns the container control.
       
    31  * @class	CNPRSearchStationListBoxView NPRSearchStationListBoxView.h
       
    32  */						
       
    33 			
       
    34 class CNPRSearchStationListBoxView : public CAknView
       
    35 	{
       
    36 public:
       
    37 	static CNPRSearchStationListBoxView* NewL();
       
    38 	static CNPRSearchStationListBoxView* NewLC();        
       
    39 	virtual ~CNPRSearchStationListBoxView();
       
    40 
       
    41 public:
       
    42 	// from base class CAknView
       
    43 	TUid Id() const;
       
    44 	void HandleCommandL( TInt aCommand );
       
    45 	CNPRSearchStationListBox* CreateContainerL();
       
    46 	
       
    47 protected:
       
    48 	// from base class CAknView
       
    49 	void DoActivateL(const TVwsViewId& aPrevViewId, TUid aCustomMessageId, const TDesC8& aCustomMessage);
       
    50 	void DoDeactivate();
       
    51 	void HandleStatusPaneSizeChange();
       
    52 	
       
    53 private:
       
    54 	void SetupStatusPaneL();
       
    55 	void CleanupStatusPane();
       
    56 
       
    57 private:
       
    58 	// constructors
       
    59 	CNPRSearchStationListBoxView();
       
    60 	void ConstructL();
       
    61 
       
    62 private:
       
    63 	CNPRSearchStationListBox* iNPRSearchStationListBox;
       
    64 	};
       
    65 
       
    66 #endif // __NPR_SEARCH_STATION_LIST_BOX_VIEW_H__