--- a/emailuis/nmframeworkadapter/src/nmfwamessagefetchingoperation.cpp Mon May 24 21:02:02 2010 +0300
+++ b/emailuis/nmframeworkadapter/src/nmfwamessagefetchingoperation.cpp Fri May 28 13:56:43 2010 +0300
@@ -29,16 +29,20 @@
mRequestId(0)
{
+ NM_FUNCTION;
}
NmFwaMessageFetchingOperation::~NmFwaMessageFetchingOperation()
{
+ NM_FUNCTION;
+
doCancelOperation();
- NMLOG("NmFwaMessageFetchingOperation::~NmFwaMessageFetchingOperation --->");
}
void NmFwaMessageFetchingOperation::doRunAsyncOperation()
{
+ NM_FUNCTION;
+
const TFSMailMsgId mailboxId(mMailboxId.pluginId32(), mMailboxId.id32());
const TFSMailMsgId folderId(mFolderId.pluginId32(), mFolderId.id32());
const TFSMailMsgId messageId(mMessageId.pluginId32(), mMessageId.id32());
@@ -67,6 +71,8 @@
*/
void NmFwaMessageFetchingOperation::doCompleteOperation()
{
+ NM_FUNCTION;
+
mRequestId = NmNotFoundError;
}
@@ -75,6 +81,8 @@
*/
void NmFwaMessageFetchingOperation::doCancelOperation()
{
+ NM_FUNCTION;
+
if (mRequestId >= 0) {
TRAP_IGNORE(mMailClient.CancelL(mRequestId));
mRequestId = NmNotFoundError;
@@ -89,6 +97,8 @@
*/
void NmFwaMessageFetchingOperation::RequestResponseL(TFSProgress aEvent, TInt aRequestId)
{
+ NM_FUNCTION;
+
if (aRequestId == mRequestId) {
if (aEvent.iProgressStatus == TFSProgress::EFSStatus_RequestComplete ) {
completeOperation(NmNoError);