kerneltest/e32test/usbho/t_usbdi/inc/HostTransfers.h
branchRCL_3
changeset 257 3e88ff8f41d5
parent 256 c1f20ce4abcf
equal deleted inserted replaced
256:c1f20ce4abcf 257:3e88ff8f41d5
   106 	
   106 	
   107 	/**
   107 	/**
   108 	*/
   108 	*/
   109 	void RunL()
   109 	void RunL()
   110 		{
   110 		{
       
   111 		LOG_FUNC
       
   112 		
   111 		TInt completionCode(iStatus.Int());
   113 		TInt completionCode(iStatus.Int());
   112 		RDebug::Printf("Transfer err=%d",completionCode);
   114 		RDebug::Printf("Transfer err=%d",completionCode);
   113 		
   115 		
   114 		// Notify of transfer completion (successful or otherwise)
   116 		// Notify of transfer completion (successful or otherwise)
   115 		iObserver.TransferCompleteL(iTransferIdentity,completionCode);
   117 		iObserver.TransferCompleteL(iTransferIdentity,completionCode);
   117 	
   119 	
   118 	/**
   120 	/**
   119 	*/
   121 	*/
   120 	void DoCancel()
   122 	void DoCancel()
   121 		{
   123 		{
       
   124 		LOG_FUNC
       
   125 		
   122 		// Will cancel all transfers on this pipe
   126 		// Will cancel all transfers on this pipe
   123 		
   127 		
   124 		Pipe().CancelAllTransfers();
   128 		Pipe().CancelAllTransfers();
   125 		}
   129 		}
   126 	
   130