ipsservices/ipssosplugin/src/ipsplgimap4connectop.cpp
changeset 56 15bc1d5d6267
parent 47 f83bd4ae1fe3
child 76 38bf5461e270
--- a/ipsservices/ipssosplugin/src/ipsplgimap4connectop.cpp	Fri Jul 09 12:17:13 2010 +0300
+++ b/ipsservices/ipssosplugin/src/ipsplgimap4connectop.cpp	Fri Jul 23 19:09:50 2010 +0300
@@ -339,6 +339,7 @@
     if ( iDoPlainConnect && !Connected() )
         {
         TBuf8<1> parameter;
+        NM_COMMENT("CIpsPlgImap4ConnectOp: do plain connect");
         // connect and synchronise starts background sync or idle
         iSubOperation = iBaseMtm->InvokeAsyncFunctionL(
             KIMAP4MTMConnect, *iSelection, parameter, iStatus);
@@ -348,12 +349,14 @@
         // in this point cant use "connect and do something" commands,
         // use regular sync, when new mails is populated elsewhere.
         TBuf8<1> parameter;
+        NM_COMMENT("CIpsPlgImap4ConnectOp: full sync starting");
         iSubOperation = iBaseMtm->InvokeAsyncFunctionL(
             KIMAP4MTMFullSync, *iSelection, parameter, iStatus);
         }
     else
         {
         // the used command requires an observer to be given even though we're not using it
+        NM_COMMENT("CIpsPlgImap4ConnectOp: connect and sync");
         TPckg<MMsvImapConnectionObserver*> parameter( NULL );
         iSubOperation = iBaseMtm->InvokeAsyncFunctionL(
             KIMAP4MTMConnectAndSyncCompleteAfterFullSync, 
@@ -372,6 +375,7 @@
     {
     FUNC_LOG;
     
+    NM_COMMENT("CIpsPlgImap4ConnectOp: populate all");
     // construct partial fetch info according to imap settings
     // <qmail> new function to wrap settings loading
     CImImap4Settings* settings = GetImapSettingsLC();