os/kernelhwsrv/userlibandfileserver/fileserver/smassstorage/inc/cusbmassstoragesession.h
Update contrib.
1 // Copyright (c) 2004-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 the License "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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // Implements a Session of a Symbian OS server for the RUsbMassStorage API
23 #ifndef __CUSBMASSSTORAGESESSION_H__
24 #define __CUSBMASSSTORAGESESSION_H__
28 #include "massstoragedebug.h"
29 #include "usbmsshared.h"
31 _LIT(KUsbMsCliPncCat, "UsbMs-Client");
33 enum TUsbMsPanicClient
38 // Forward declarations
40 class CUsbMassStorageServer;
43 The CUsbMassStorageSession class
44 Implements a Session of a Symbian OS server for the RUsbMassStorage API
46 class CUsbMassStorageSession : public CSession2
49 static CUsbMassStorageSession* NewL(CUsbMassStorageServer& aServer);
50 virtual ~CUsbMassStorageSession();
53 virtual void ServiceL(const RMessage2& aMessage);
56 CUsbMassStorageSession(CUsbMassStorageServer& aServer);
59 void DispatchMessageL(const RMessage2& aMessage);
60 TInt Start(const RMessage2& aMessage);
65 void GetMsConfigL(const RMessage2& aMessage, TMassStorageConfig& aMsStorage);
68 CUsbMassStorageServer& iUsbMsServer;
71 #endif //__CUSBMASSSTORAGESESSION_H__