uiservicetab/vimpstcmdprocess/src/cvimpstcmdcca.cpp
branchRCL_3
changeset 14 9fdee5e1da30
parent 0 5e5d6b214f4f
equal deleted inserted replaced
13:796276a1bdcc 14:9fdee5e1da30
    30 #include <e32def.h>
    30 #include <e32def.h>
    31 #include <e32property.h>
    31 #include <e32property.h>
    32 #include <imconnectionproviderconsts.h>
    32 #include <imconnectionproviderconsts.h>
    33 #include "tvimpstconsts.h"
    33 #include "tvimpstconsts.h"
    34 #include "vimpstdetailsviewpluginuids.hrh"
    34 #include "vimpstdetailsviewpluginuids.hrh"
       
    35 
       
    36 #include "uiservicetabtracer.h"
    35 
    37 
    36 // Constants
    38 // Constants
    37 
    39 
    38 // --------------------------------------------------------------------------
    40 // --------------------------------------------------------------------------
    39 // CVIMPSTCmdCCA::CVIMPSTCmdCCA
    41 // CVIMPSTCmdCCA::CVIMPSTCmdCCA
    69         const TInt aCommandId,TInt& aIndex,
    71         const TInt aCommandId,TInt& aIndex,
    70         MCCAConnection* aConnection,
    72         MCCAConnection* aConnection,
    71         	MVIMPSTProcessArray& aArrayProcess,
    73         	MVIMPSTProcessArray& aArrayProcess,
    72         MVIMPSTEngine& aEngine )
    74         MVIMPSTEngine& aEngine )
    73     {
    75     {
       
    76 	 TRACER_AUTO;
    74     CVIMPSTCmdCCA* self = new (ELeave ) CVIMPSTCmdCCA( aCommandId,aIndex,aConnection,aArrayProcess, aEngine );
    77     CVIMPSTCmdCCA* self = new (ELeave ) CVIMPSTCmdCCA( aCommandId,aIndex,aConnection,aArrayProcess, aEngine );
    75     self->ConstructL(); //use contsurctL if necessary
    78     self->ConstructL(); //use contsurctL if necessary
    76     return self;
    79     return self;
    77     }
    80     }
    78 // --------------------------------------------------------------------------
    81 // --------------------------------------------------------------------------
    90 // CVIMPSTCmdCCA::ExecuteLD
    93 // CVIMPSTCmdCCA::ExecuteLD
    91 // --------------------------------------------------------------------------
    94 // --------------------------------------------------------------------------
    92 //
    95 //
    93 void CVIMPSTCmdCCA::ExecuteLD()
    96 void CVIMPSTCmdCCA::ExecuteLD()
    94     {
    97     {
    95    	// CHAT_DP_FUNC_ENTER("CVIMPSTSettingsCmd::ExecuteLD");
    98     TRACER_AUTO;
       
    99    	
    96     //push to the cleanupstack
   100     //push to the cleanupstack
    97     CleanupStack::PushL( this );    
   101     CleanupStack::PushL( this );    
    98   	
   102   	
    99 	LaunchCcaL();
   103 	LaunchCcaL();
   100     if(iObserver)
   104     if(iObserver)
   101 	    {
   105 	    {
   102 	    iObserver->CommandFinishedL(*this);
   106 	    iObserver->CommandFinishedL(*this);
   103 	    }
   107 	    }
   104 	// CHAT_DP_FUNC_ENTER("CVIMPSTSettingsCmd:: CommandFinished");	
   108 		
   105 	CleanupStack::PopAndDestroy();	
   109 	CleanupStack::PopAndDestroy();	
   106 	// CHAT_DP_FUNC_DONE("CVIMPSTSettingsCmd::ExecuteLD");	
   110 		
   107     }
   111     }
   108 
   112 
   109 
   113 
   110 // --------------------------------------------------------------------------
   114 // --------------------------------------------------------------------------
   111 // CVIMPSTCmdCCA::AddObserver
   115 // CVIMPSTCmdCCA::AddObserver
   141 // CVIMPSTCmdCCA::LaunchCcaL
   145 // CVIMPSTCmdCCA::LaunchCcaL
   142 // --------------------------------------------------------------------------
   146 // --------------------------------------------------------------------------
   143 //
   147 //
   144 void CVIMPSTCmdCCA::LaunchCcaL()
   148 void CVIMPSTCmdCCA::LaunchCcaL()
   145 	{   
   149 	{   
   146 
   150 	TRACER_AUTO;
   147 	if ( iParameter )
   151 	if ( iParameter )
   148 		{
   152 		{
   149 		iParameter->Close();
   153 		iParameter->Close();
   150 		iParameter = NULL;
   154 		iParameter = NULL;
   151 		}
   155 		}