CInputDialog* CInputDialog::NewLC(MInputObserver& aObserver,CMainEngine& aMainEngine,TInt aCommandType)
{
	CInputDialog* self = new (ELeave)CInputDialog(aObserver,aMainEngine,aCommandType);
	CleanupStack::PushL(self);
	self->ConstructL();
	return self;
}