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 // RUsbMassStorage Client side header
15 // Implements the Symbian OS USB mass storage server RUsbMassStorage API
17 // WARNING: This file contains some APIs which are internal and are subject
18 // to change without notice. Such APIs should therefore not be used
19 // outside the Kernel and Hardware Services package.
27 #ifndef __MASSSTORAGE_H__
28 #define __MASSSTORAGE_H__
31 #include <usbmsshared.h>
33 class RUsbMassStorage : public RSessionBase
35 The RUsbMassStorage class implements the Symbian OS USB mass storage RUsbMassStorage API
46 inline RUsbMassStorage();
49 Extract the version of the server providing the RUsbMassStorage API
51 @return Version of the server
54 inline TVersion Version() const;
57 Start the mass storage transport service
59 @param aMsConfig mass storage configuration info
61 @return KErrNone on success, otherwise system wide error code
63 inline TInt Start(const TMassStorageConfig& aMsConfig);
66 Stops mass storage transport service
69 @return KErrNone on success, otherwise system wide error code
74 Shut down the Mass Storage server
77 @return KErrNone on success, otherwise system wide error code
79 inline TInt Shutdown();
82 Connects to mass storage file server
85 @return KErrNone on success, otherwise system wide error code
87 inline TInt Connect();
90 #include <rusbmassstorage.inl>
92 #endif //__MASSSTORAGE_H__