/**
Construct a control
*/
class CAppUiNewControl : public CCoeControl
{
public:
CAppUiNewControl();
void ConstructL();
~CAppUiNewControl();
private:
CAppUiNewControl* iControl;
};
class CMCoeViewActivationObserver : public MCoeViewActivationObserver {
public:
void ConstructL();
// from MCoeViewActivationObserver
void NotifyNextActivation( TVwsViewId& aViewId,
MCoeViewActivationObserver& aViewActivationObserver );
CMCoeViewActivationObserver* NewL();
private:
CCoeAppUi* iCCoeAppUi;
}
/**
Create a session
*/
CNewAppUi::ConstructL()
{
CCoeAppUi::ConstructL( iCCoeAppUi );
iControl=new( ELeave ) CAppUiNewControl();
iControl->ConstructL();
}
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.