sl@0: // Copyright (c) 2004-2009 Nokia Corporation and/or its subsidiary(-ies). sl@0: // All rights reserved. sl@0: // This component and the accompanying materials are made available sl@0: // under the terms of the License "Eclipse Public License v1.0" sl@0: // which accompanies this distribution, and is available sl@0: // at the URL "http://www.eclipse.org/legal/epl-v10.html". sl@0: // sl@0: // Initial Contributors: sl@0: // Nokia Corporation - initial contribution. sl@0: // sl@0: // Contributors: sl@0: // sl@0: // Description: sl@0: // Class declaration for CUsbMassStorageController. sl@0: // sl@0: // sl@0: sl@0: /** sl@0: @file sl@0: @internalTechnology sl@0: */ sl@0: sl@0: #ifndef __T_CUSBMASSSTORAGECONTROLLER_H__ sl@0: #define __T_CUSBMASSSTORAGECONTROLLER_H__ sl@0: sl@0: #include sl@0: #include "cusbmassstorageserver.h" sl@0: #include "protocol.h" sl@0: #include "massstoragedebug.h" sl@0: sl@0: /** sl@0: Mass Storage Controller class. sl@0: Encapsulates the drive manager, transport and protocol for USB Mass Storage. sl@0: Its main purpose is to instantiate and initialize these objects. sl@0: */ sl@0: class CUsbMassStorageController : public CBase sl@0: { sl@0: public: sl@0: static CUsbMassStorageController* NewL(); sl@0: ~CUsbMassStorageController(); sl@0: TInt Start(TMassStorageConfig& aConfig); sl@0: TInt Stop(); sl@0: }; sl@0: sl@0: #endif //__T_CUSBMASSSTORAGECONTROLLER_H__