0
|
1 |
// Copyright (c) 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".
|
|
7 |
//
|
|
8 |
// Initial Contributors:
|
|
9 |
// Nokia Corporation - initial contribution.
|
|
10 |
//
|
|
11 |
// Contributors:
|
|
12 |
//
|
|
13 |
// Description:
|
|
14 |
//
|
|
15 |
|
|
16 |
|
|
17 |
|
|
18 |
/**
|
|
19 |
@file
|
|
20 |
*/
|
|
21 |
|
|
22 |
#ifndef MSTYPES_H
|
|
23 |
#define MSTYPES_H
|
|
24 |
|
|
25 |
class TMassStorageConfig
|
|
26 |
{
|
|
27 |
public:
|
|
28 |
TBuf<8> iVendorId;
|
|
29 |
TBuf<16> iProductId;
|
|
30 |
TBuf<4> iProductRev;
|
|
31 |
};
|
|
32 |
|
|
33 |
|
|
34 |
/**
|
|
35 |
@publishedPartner
|
|
36 |
@released
|
|
37 |
|
|
38 |
The maximum number of removable drives supported by Mass Storage.
|
|
39 |
*/
|
|
40 |
const TUint KUsbMsMaxDrives=8;
|
|
41 |
|
|
42 |
/**
|
|
43 |
@publishedPartner
|
|
44 |
@released
|
|
45 |
|
|
46 |
A buffer to receive the EUsbMsDriveState_DriveStatus property.
|
|
47 |
For each drive there is a pair of bytes; the drive number
|
|
48 |
followed by the EUsbMsDriveStates status code.
|
|
49 |
*/
|
|
50 |
typedef TBuf8<2*KUsbMsMaxDrives> TUsbMsDrivesStatus;
|
|
51 |
|
|
52 |
class CMassStorageDrive;
|
|
53 |
// typedefs
|
|
54 |
|
|
55 |
typedef const RArray<TInt>& TRefDriveMap;
|
|
56 |
|
|
57 |
|
|
58 |
|
|
59 |
|
|
60 |
#endif // MSTYPES_H
|