uiservicetab/vimpstcmdprocess/src/cvimpstcmdcancellogin.cpp
branchRCL_3
changeset 9 9fdee5e1da30
parent 0 5e5d6b214f4f
equal deleted inserted replaced
8:796276a1bdcc 9:9fdee5e1da30
    20 
    20 
    21 #include "cvimpstcmdcancellogin.h"
    21 #include "cvimpstcmdcancellogin.h"
    22 
    22 
    23 #include "vimpstcmd.hrh"
    23 #include "vimpstcmd.hrh"
    24 #include "mvimpstcmdobserver.h"
    24 #include "mvimpstcmdobserver.h"
    25 #include "vimpstdebugprint.h" 
    25 
       
    26 #include "uiservicetabtracer.h"
    26 
    27 
    27 #include <e32def.h>
    28 #include <e32def.h>
    28 #include "mvimpstengine.h"
    29 #include "mvimpstengine.h"
    29 
    30 
    30 
    31 
    54 CVIMPSTCmdCancelLogin* CVIMPSTCmdCancelLogin::NewL( 
    55 CVIMPSTCmdCancelLogin* CVIMPSTCmdCancelLogin::NewL( 
    55         const TInt aCommandId,
    56         const TInt aCommandId,
    56         MVIMPSTEngine& aEngine)
    57         MVIMPSTEngine& aEngine)
    57     {
    58     {
    58     // return the object created 
    59     // return the object created 
    59     CHAT_DP_FUNC_ENTER("CVIMPSTCmdCancelLogin::NewL");
    60    
       
    61     TRACER_AUTO;
    60     return  new (ELeave ) CVIMPSTCmdCancelLogin( aCommandId , aEngine);
    62     return  new (ELeave ) CVIMPSTCmdCancelLogin( aCommandId , aEngine);
    61     }
    63     }
    62 
    64 
    63 // --------------------------------------------------------------------------
    65 // --------------------------------------------------------------------------
    64 // CVIMPSTCmdCancelLogin::ExecuteLD
    66 // CVIMPSTCmdCancelLogin::ExecuteLD
    65 // --------------------------------------------------------------------------
    67 // --------------------------------------------------------------------------
    66 //
    68 //
    67 void CVIMPSTCmdCancelLogin::ExecuteLD()
    69 void CVIMPSTCmdCancelLogin::ExecuteLD()
    68     {
    70     {
    69    	CHAT_DP_FUNC_ENTER("CVIMPSTCmdCancelLogin::ExecuteLD");
    71    	
       
    72     TRACER_AUTO;
    70     //push to the cleanupstack
    73     //push to the cleanupstack
    71     CleanupStack::PushL( this );    
    74     CleanupStack::PushL( this );    
    72     
    75     
    73     // now  call logout for cancel login
    76     // now  call logout for cancel login
    74     // protocol adaptation has to take care of this 
    77     // protocol adaptation has to take care of this 
    75     iEngine.LogoutL();
    78     iEngine.LogoutL();	
    76    	
    79     
    77     CHAT_DP_FUNC_ENTER("CVIMPSTCmdCancelLogin:: CommandFinished");
       
    78 
    80 
    79     if(iObserver)
    81     if(iObserver)
    80 	    {
    82 	    {
    81 	    iObserver->CommandFinishedL(*this);
    83 	    iObserver->CommandFinishedL(*this);
    82 	    }
    84 	    }
    83 	CHAT_DP_FUNC_ENTER("CVIMPSTCmdCancelLogin:: CommandFinished");	
    85 		
    84 	CleanupStack::PopAndDestroy();	
    86 	CleanupStack::PopAndDestroy();	
    85 	CHAT_DP_FUNC_DONE("CVIMPSTCmdCancelLogin::ExecuteLD");	
    87 	
    86     }
    88     }
    87 
    89 
    88 
    90 
    89 // --------------------------------------------------------------------------
    91 // --------------------------------------------------------------------------
    90 // CVIMPSTCmdCancelLogin::AddObserver
    92 // CVIMPSTCmdCancelLogin::AddObserver