mtptransports/mtpusbtransport/usbsic_imp/inc/cmtpusbepbulkout.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2006-2009 Nokia Corporation and/or its subsidiary(-ies).
       
     2 // All rights reserved.
       
     3 // This component and the accompanying materials are made available
       
     4 // under the terms of "Eclipse Public License v1.0"
       
     5 // which accompanies this distribution, and is available
       
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
       
     7 //
       
     8 // Initial Contributors:
       
     9 // Nokia Corporation - initial contribution.
       
    10 //
       
    11 // Contributors:
       
    12 //
       
    13 // Description:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19 */
       
    20 
       
    21 #ifndef CMTPUSBEPBULKOUT_H
       
    22 #define CMTPUSBEPBULKOUT_H
       
    23 
       
    24 #include "cmtpusbepbase.h"
       
    25 
       
    26 class CMTPUsbConnection;
       
    27 class MMTPType;
       
    28 
       
    29 /**
       
    30 Implements the USB MTP device class bulk-out endpoint data transfer controller.
       
    31 @internalComponent
       
    32  
       
    33 */
       
    34 class CMTPUsbEpBulkOut: public CMTPUsbEpBase
       
    35     {
       
    36 public:
       
    37 
       
    38     static CMTPUsbEpBulkOut* NewL(TUint aId, CMTPUsbConnection& aConnection);
       
    39     ~CMTPUsbEpBulkOut();
       
    40     
       
    41     void ReceiveBulkDataL(MMTPType& aData);
       
    42 
       
    43 private: // From CMTPUsbEpBase
       
    44 
       
    45     void ReceiveDataCompleteL(TInt aError, MMTPType& aSink);
       
    46     
       
    47 private:
       
    48 
       
    49     CMTPUsbEpBulkOut(TUint aId, CMTPUsbConnection& aConnection);
       
    50     };
       
    51     
       
    52 #endif // CMTPUSBEPBULKOUT_H