smsprotocols/smsstack/smsprot/Src/smspenum.cpp
branchRCL_3
changeset 5 7ef16719d8cb
parent 0 3553901f7fa8
child 19 630d2f34d719
equal deleted inserted replaced
3:962e6306d9d2 5:7ef16719d8cb
   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;