mtptransports/mtpusbtransport/usbsic_imp/inc/cmtpusbepbulkin.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 CMTPUSBEPBULKIN_H
       
    22 #define CMTPUSBEPBULKIN_H
       
    23 
       
    24 #include "cmtpusbepbase.h"
       
    25 
       
    26 class CMTPUsbConnection;
       
    27 class MMTPType;
       
    28 
       
    29 /**
       
    30 Implements the USB MTP device class bulk-in endpoint data transfer controller.
       
    31 @internalComponent
       
    32  
       
    33 */
       
    34 class CMTPUsbEpBulkIn: public CMTPUsbEpBase
       
    35     {
       
    36 public:
       
    37 
       
    38     static CMTPUsbEpBulkIn* NewL(TUint aId, CMTPUsbConnection& aConnection);
       
    39     ~CMTPUsbEpBulkIn();
       
    40 
       
    41     void SendBulkDataL(const MMTPType& aData);
       
    42 
       
    43 private: // From CMTPUsbEpBase
       
    44 
       
    45     void SendDataCompleteL(TInt aError, const MMTPType& aSource);
       
    46     
       
    47 private:
       
    48 
       
    49     CMTPUsbEpBulkIn(TUint aId, CMTPUsbConnection& aConnection);
       
    50     };
       
    51     
       
    52 #endif // CMTPUSBEPBULKIN_H