telephonyutils/etel3rdpartyapi/src/TelephonyFunctions.cpp
branchRCL_3
changeset 17 1ac40e087278
parent 0 3553901f7fa8
equal deleted inserted replaced
15:8b9e023e329f 17:1ac40e087278
   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();