/*
===================================================================================================
Name : NPRSearchStationListBoxView.h
Author : Symsource
Copyright (c) 2009 Symbian Foundation Ltd
This component and the accompanying materials are made available
under the terms of the License "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:
- Symsource
Contributors:
- Symsource
Description : AknView for wrapping the container to show the NPR's station search options
===================================================================================================
*/
#ifndef __NPR_SEARCH_STATION_LIST_BOX_VIEW_H__
#define __NPR_SEARCH_STATION_LIST_BOX_VIEW_H__
#include <aknview.h>
class CNPRSearchStationListBox;
/**
* Avkon view class for NPRSearchStationListBoxView. It is register with the view server
* by the AppUi. It owns the container control.
* @class CNPRSearchStationListBoxView NPRSearchStationListBoxView.h
*/
class CNPRSearchStationListBoxView : public CAknView
{
public:
static CNPRSearchStationListBoxView* NewL();
static CNPRSearchStationListBoxView* NewLC();
virtual ~CNPRSearchStationListBoxView();
public:
// from base class CAknView
TUid Id() const;
void HandleCommandL( TInt aCommand );
CNPRSearchStationListBox* CreateContainerL();
protected:
// from base class CAknView
void DoActivateL(const TVwsViewId& aPrevViewId, TUid aCustomMessageId, const TDesC8& aCustomMessage);
void DoDeactivate();
void HandleStatusPaneSizeChange();
private:
void SetupStatusPaneL();
void CleanupStatusPane();
private:
// constructors
CNPRSearchStationListBoxView();
void ConstructL();
private:
CNPRSearchStationListBox* iNPRSearchStationListBox;
};
#endif // __NPR_SEARCH_STATION_LIST_BOX_VIEW_H__