equal
deleted
inserted
replaced
58 mFileList.clear(); |
58 mFileList.clear(); |
59 delete mFSMessage; |
59 delete mFSMessage; |
60 } |
60 } |
61 |
61 |
62 /*! |
62 /*! |
63 Called after base object construction, runs the |
63 Called after base object construction via timer event, runs the |
64 async operation. |
64 async operation. |
65 |
65 |
66 \sa NmOperation |
66 \sa NmOperation |
67 */ |
67 */ |
68 void NmFwaAddAttachmentsOperation::doRunAsyncOperation() |
68 void NmFwaAddAttachmentsOperation::doRunAsyncOperation() |
107 if (mFileList.count() > 0) { |
107 if (mFileList.count() > 0) { |
108 // Add new attachment from first file in the list. |
108 // Add new attachment from first file in the list. |
109 HBufC *fileName = NmConverter::qstringToHBufCLC(mFileList.first()); |
109 HBufC *fileName = NmConverter::qstringToHBufCLC(mFileList.first()); |
110 mRequestId = mFSMessage->AddNewAttachmentL(*fileName, *this); |
110 mRequestId = mFSMessage->AddNewAttachmentL(*fileName, *this); |
111 CleanupStack::PopAndDestroy(fileName); |
111 CleanupStack::PopAndDestroy(fileName); |
112 } else { |
112 } |
113 completeOperation(NmNoError); |
|
114 } |
|
115 |
|
116 } |
113 } |
117 |
114 |
118 /*! |
115 /*! |
119 Asynchronous request response message. |
116 Asynchronous request response message. |
120 |
117 |