smsprotocols/smsstack/smsprot/Src/smspenum.cpp
changeset 20 244d7c5f118e
parent 0 3553901f7fa8
child 24 6638e7f4bd8f
child 42 3adadc800673
equal deleted inserted replaced
19:1f776524b15c 20:244d7c5f118e
   935 				{
   935 				{
   936 				if (iStoreInfo.iName == iSlot.iStore)
   936 				if (iStoreInfo.iName == iSlot.iStore)
   937 					{
   937 					{
   938 					if ((iStoreInfo.iCaps & RMobilePhoneStore::KCapsWriteAccess) == 0)
   938 					if ((iStoreInfo.iCaps & RMobilePhoneStore::KCapsWriteAccess) == 0)
   939 						{
   939 						{
       
   940                         LOGSMSPROT2("CSmsMessageWrite::DoRunL left with KErrNotSuported [iState=%d]", iState);
   940 						User::Leave(KErrNotSupported);
   941 						User::Leave(KErrNotSupported);
   941 						}
   942 						}
   942 
   943 
   943 					iState = ESmsMessageWriteWritingPDUs;
   944 					iState = ESmsMessageWriteWritingPDUs;
   944 					SegmentMessageL();
   945 					SegmentMessageL();
   952 	 					iSmsMessaging.GetMessageStoreInfo(iStatus, iCurrentStore, iStoreInfoPckg);
   953 	 					iSmsMessaging.GetMessageStoreInfo(iStatus, iCurrentStore, iStoreInfoPckg);
   953 						TimedSetActive(iSmsSettings.Timeout());
   954 						TimedSetActive(iSmsSettings.Timeout());
   954 						}
   955 						}
   955 					else
   956 					else
   956 						{
   957 						{
   957 						User::Leave(KErrNotFound); //< TODO Is this correct?
   958                         LOGSMSPROT2("CSmsMessageWrite::DoRunL left with KErrNotFound [iState=%d]", iState);            
       
   959 						User::Leave(KErrNotFound);
   958 						}
   960 						}
   959 					}
   961 					}
   960 				}
   962 				}
   961 			}
   963 			}
   962 			break;
   964 			break;