userlibandfileserver/fileserver/smassstorage/inc/cbulkonlytransport.h
changeset 270 ea2cef07f9fe
parent 0 a41df078684a
child 271 dc268b18d709
equal deleted inserted replaced
255:d45b74d3fb20 270:ea2cef07f9fe
     1 // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies).
     1 // Copyright (c) 2004-2010 Nokia Corporation and/or its subsidiary(-ies).
     2 // All rights reserved.
     2 // All rights reserved.
     3 // This component and the accompanying materials are made available
     3 // This component and the accompanying materials are made available
     4 // under the terms of the License "Eclipse Public License v1.0"
     4 // under the terms of the License "Eclipse Public License v1.0"
     5 // which accompanies this distribution, and is available
     5 // which accompanies this distribution, and is available
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
     6 // at the URL "http://www.eclipse.org/legal/epl-v10.html".
    89 		};
    89 		};
    90 public:
    90 public:
    91 	static CBulkOnlyTransport* NewL(TInt aNumDrives,CUsbMassStorageController& aController, CUsbMassStorageController::TTransportldd aTransportLddFlag);
    91 	static CBulkOnlyTransport* NewL(TInt aNumDrives,CUsbMassStorageController& aController, CUsbMassStorageController::TTransportldd aTransportLddFlag);
    92 	static CBulkOnlyTransport* NewL(TInt aNumDrives,CUsbMassStorageController& aController); 
    92 	static CBulkOnlyTransport* NewL(TInt aNumDrives,CUsbMassStorageController& aController); 
    93 
    93 
       
    94 protected:
       
    95     ~CBulkOnlyTransport() = 0;
    94 	CBulkOnlyTransport(TInt aNumDrives,CUsbMassStorageController& aController);
    96 	CBulkOnlyTransport(TInt aNumDrives,CUsbMassStorageController& aController);
       
    97 
       
    98 public:
    95 	TInt InitialiseTransportL(TInt aTransportLddFlag);
    99 	TInt InitialiseTransportL(TInt aTransportLddFlag);
    96 	~CBulkOnlyTransport();
   100 
    97 
   101 
    98 	TInt Start();
   102 	TInt Start();
    99 	TInt Stop();
   103 	TInt Stop();
   100 	void RegisterProtocol(MProtocolBase& aProtocol);
   104 	void RegisterProtocol(MProtocolBase& aProtocol);
   101 
   105