homescreensrv_plat/sapi_menucontent/mcsservice/src/mcsexecuteaction.cpp
branchRCL_3
changeset 78 1b207dd38b72
parent 0 79c6a41cd166
child 82 ace62b58f4b2
equal deleted inserted replaced
74:edd621764147 78:1b207dd38b72
   122 // ---------------------------------------------------------------------------
   122 // ---------------------------------------------------------------------------
   123 //
   123 //
   124 void CMCSExecuteAction::RunL()
   124 void CMCSExecuteAction::RunL()
   125 	{
   125 	{
   126 	TInt err = iStatus.Int();
   126 	TInt err = iStatus.Int();
   127 
       
   128     if ( err == KErrNone )
   127     if ( err == KErrNone )
   129         {
   128         {
   130         TRAP( err, ExecuteL( iItemId, iAction ) );
   129         ExecuteL( iItemId, iAction );
   131         }   
   130         }
   132     if(err != KErrNone)
       
   133     	{
       
   134     	NotifyRequestResult( err );
       
   135     	}
       
   136 	}
   131 	}
   137 
   132 
   138 // ---------------------------------------------------------------------------
   133 // ---------------------------------------------------------------------------
   139 // CMCSExecuteAction::RunError
   134 // CMCSExecuteAction::RunError
   140 // ---------------------------------------------------------------------------
   135 // ---------------------------------------------------------------------------
   141 //
   136 //
   142 TInt CMCSExecuteAction::RunError(TInt aError)
   137 TInt CMCSExecuteAction::RunError(TInt aError)
   143 	{
   138 	{
   144     NotifyRequestResult( aError );
   139     NotifyRequestResult( aError );
   145     if ( (aError != KErrDiskFull) && (aError != KErrNoMemory))
       
   146     	{
       
   147     	aError = KErrNone;
       
   148     	}    
       
   149 	return aError; 
   140 	return aError; 
   150 	}
   141 	}
   151 
   142 
   152 // ---------------------------------------------------------------------------
   143 // ---------------------------------------------------------------------------
   153 // Activates the asynchronous request
   144 // Activates the asynchronous request