51
|
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 "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: Adheres to the UsbMan USB Class API and talks to mass storage file system
|
|
14 |
//
|
|
15 |
//
|
|
16 |
#ifndef USBMSCFILECLASSCONTROLLER_CRKEYS_H
|
|
17 |
#define USBMSCFILECLASSCONTROLLER_CRKEYS_H
|
|
18 |
|
|
19 |
// CONSTANTS
|
|
20 |
const TUid KCRUidUsbPhoneAsModemMscFileClassController = { 0x2000FDA8 };
|
|
21 |
|
|
22 |
/*
|
|
23 |
the least significant four bits is used for columns(unit file attributes: unit number, full name),
|
|
24 |
the remains bit is used for rows(which unit file).
|
|
25 |
|
|
26 |
for example, if two units is used, the following can be added for the second unit keys.
|
|
27 |
|
|
28 |
const TUint32 KCRIdMscFileLogicalUnitNumber2 = 0x00000010;
|
|
29 |
const TUint32 KCRIdMscFileImageFullName2 = 0x00000011;
|
|
30 |
|
|
31 |
refer to central repository how-to document section 5, Structured Data in the Central Repository
|
|
32 |
|
|
33 |
*/
|
|
34 |
const TUint32 KCRIdMscFileLogicalUnitNumber1 = 0x00000000;
|
|
35 |
const TUint32 KCRIdMscFileImageFullName1 = 0x00000001;
|
|
36 |
|
|
37 |
const TUint32 KCRMscFileLogicalUnitNumberColumn = 0x00000000;
|
|
38 |
const TUint32 KCRMscFileImageFullNameColumn = 0x00000001;
|
|
39 |
|
|
40 |
const TUint32 KCRMscFileColumnMask = 0x0000000F;
|
|
41 |
const TUint32 KCRMscFileRowMask = 0xFFFFFFF0;
|
|
42 |
#endif // USBMSCFILECLASSCONTROLLER_CRKEYS_H
|