www.pudn.com > UIQ_Code1.rar > CommandsAppUi.cpp
// CommandsAppUi.cpp
//
// © Symbian Software Ltd 2005. All rights reserved.
//
#include "CommandsAppUi.h"
#include "CommandsDocument.h"
#include "CommandsView.h"
#include "CommandsExternalInterface.h"
/**
2nd stage construction of the App UI.
Creates view and adds it to the framework.
The framework will take over the ownership.
*/
void CCommandsAppUi::ConstructL()
{
// Calls ConstructL that initiate the standard values.
CQikAppUi::ConstructL();
// Create the view and add it to the framework
// The first added view becomes the default view
CCommandsView* commandsView = CCommandsView::NewLC(*this);
AddViewL(*commandsView);
CleanupStack::Pop(commandsView);
}