uiservicetab/vimpstcmdprocess/src/cvimpstcmdcloseconversation.cpp
branchRCL_3
changeset 9 9fdee5e1da30
parent 0 5e5d6b214f4f
equal deleted inserted replaced
8:796276a1bdcc 9:9fdee5e1da30
    19 // INCLUDE FILES
    19 // INCLUDE FILES
    20 #include "cvimpstcmdcloseconversation.h"
    20 #include "cvimpstcmdcloseconversation.h"
    21 
    21 
    22 #include "vimpstcmd.hrh"
    22 #include "vimpstcmd.hrh"
    23 #include "mvimpstcmdobserver.h"
    23 #include "mvimpstcmdobserver.h"
    24 #include "vimpstdebugprint.h" 
    24 
       
    25 #include "uiservicetabtracer.h"
    25 
    26 
    26 #include <e32def.h>
    27 #include <e32def.h>
    27 #include "mvimpstengine.h"
    28 #include "mvimpstengine.h"
    28 #include "mvimpstenginesubservice.h"
    29 #include "mvimpstenginesubservice.h"
    29 #include "mvimpstengineimsubservice.h"
    30 #include "mvimpstengineimsubservice.h"
    58 //
    59 //
    59 CVIMPSTCmdCloseConversation* CVIMPSTCmdCloseConversation::NewL( const TInt aCommandId,
    60 CVIMPSTCmdCloseConversation* CVIMPSTCmdCloseConversation::NewL( const TInt aCommandId,
    60                                                                 const TDesC& aContactId,
    61                                                                 const TDesC& aContactId,
    61                                                                 MVIMPSTEngine& aEngine )
    62                                                                 MVIMPSTEngine& aEngine )
    62     {
    63     {
       
    64 	TRACER_AUTO;
    63     CVIMPSTCmdCloseConversation* self = new (ELeave ) CVIMPSTCmdCloseConversation( aCommandId ,aContactId, aEngine);
    65     CVIMPSTCmdCloseConversation* self = new (ELeave ) CVIMPSTCmdCloseConversation( aCommandId ,aContactId, aEngine);
    64     self->ConstructL(); //use contsurctL if necessary
    66     self->ConstructL(); //use contsurctL if necessary
    65     return self;
    67     return self;
    66     }
    68     }
    67 // --------------------------------------------------------------------------
    69 // --------------------------------------------------------------------------
    77 // CVIMPSTCmdCloseConversation::ExecuteLD
    79 // CVIMPSTCmdCloseConversation::ExecuteLD
    78 // --------------------------------------------------------------------------
    80 // --------------------------------------------------------------------------
    79 //
    81 //
    80 void CVIMPSTCmdCloseConversation::ExecuteLD()
    82 void CVIMPSTCmdCloseConversation::ExecuteLD()
    81     {
    83     {
    82     CHAT_DP_FUNC_ENTER("CVIMPSTCmdCloseConversation::ExecuteLD");
    84    
       
    85     TRACER_AUTO;
    83     //push to the cleanupstack
    86     //push to the cleanupstack
    84     CleanupStack::PushL( this );
    87     CleanupStack::PushL( this );
    85     
    88     
    86     //Get IM SubService     
    89     //Get IM SubService     
    87     MVIMPSTEngineSubService* subService1 =    	   
    90     MVIMPSTEngineSubService* subService1 =    	   
    97     if(iObserver)
   100     if(iObserver)
    98         {
   101         {
    99         iObserver->CommandFinishedL(*this);
   102         iObserver->CommandFinishedL(*this);
   100         }
   103         }
   101     
   104     
   102     CHAT_DP_FUNC_ENTER("CVIMPSTCmdCloseConversation:: CommandFinished");    
   105      
   103     CleanupStack::PopAndDestroy();  
   106     CleanupStack::PopAndDestroy();  
   104     CHAT_DP_FUNC_DONE("CVIMPSTCmdCloseConversation::ExecuteLD");    
   107     
   105     }
   108     }
   106 
   109 
   107 
   110 
   108 // --------------------------------------------------------------------------
   111 // --------------------------------------------------------------------------
   109 // CVIMPSTCmdCloseConversation::AddObserver
   112 // CVIMPSTCmdCloseConversation::AddObserver