www.pudn.com > QHelloWorld.rar > HelloWorldAppUi.cpp
// HelloWorldAppUi.cpp
//
// © Symbian Software Ltd 2005. All rights reserved.
//
#include "HelloWorldAppUi.h"
#include "HelloWorldView.h"
/**
2nd stage construction of the App UI.
Create view and add it to the framework.
The framework will take over the ownership.
*/
void CHelloWorldAppUi::ConstructL()
{
// Calls BaseConstructL that initiate the App UI.
BaseConstructL();
// Create the view and add it to the framework
CHelloWorldView* helloWorldView = CHelloWorldView::NewLC(*this);
AddViewL(*helloWorldView);
CleanupStack::Pop(helloWorldView);
}