telephonyutils/etel3rdpartyapi/src/TelephonyFunctions.cpp
changeset 62 8ef833fbf5aa
parent 0 3553901f7fa8
child 58 980b3d0c4069
equal deleted inserted replaced
49:f50f4094acd7 62:8ef833fbf5aa
   352 	User::LeaveIfError(iPhonePowerProperty.Attach(KUidSystemCategory, KUidPhonePwr.iUid));
   352 	User::LeaveIfError(iPhonePowerProperty.Attach(KUidSystemCategory, KUidPhonePwr.iUid));
   353 
   353 
   354 	for( TInt i=0; i<EMaxNumberOperations; i++)
   354 	for( TInt i=0; i<EMaxNumberOperations; i++)
   355 		{
   355 		{
   356 		TRequestStatus dummy(KErrNone);
   356 		TRequestStatus dummy(KErrNone);
   357 		iReqPendingTable.Append(EFalse);
   357 		iReqPendingTable.AppendL(EFalse);
   358 		iReqStatusTable.Append(&dummy);
   358 		iReqStatusTable.AppendL(&dummy);
   359 		}
   359 		}
   360 	for( TInt j=0; j<CTelephony::EISVMaxNumOfCalls; j++)
   360 	for( TInt j=0; j<CTelephony::EISVMaxNumOfCalls; j++)
   361 		{
   361 		{
   362 		RMobileCall aDummyCall;
   362 		RMobileCall aDummyCall;
   363 		iCallPool.Append(aDummyCall);
   363 		iCallPool.AppendL(aDummyCall);
   364 		iCallPoolStatus.Append(EUnset);
   364 		iCallPoolStatus.AppendL(EUnset);
   365 		}
   365 		}
   366 
   366 
   367 	__ASSERT_DEBUG(iState==EIdle, User::Invariant());
   367 	__ASSERT_DEBUG(iState==EIdle, User::Invariant());
   368 
   368 
   369 	InitialisePhoneL();
   369 	InitialisePhoneL();