|
1 // Copyright (c) 2007-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: |
|
14 // mmtpdpconst.h |
|
15 // |
|
16 // |
|
17 |
|
18 /** |
|
19 @file |
|
20 @internalTechnology |
|
21 */ |
|
22 |
|
23 #ifndef MTPDPCONST_H |
|
24 #define MTPDPCONST_H |
|
25 |
|
26 #include <mtp/mtpprotocolconstants.h> |
|
27 |
|
28 /** |
|
29 define all the object properties that are supported by the data provider |
|
30 @internalTechnology |
|
31 */ |
|
32 static const TUint16 KMTPDpSupportedProperties[] = |
|
33 { |
|
34 EMTPObjectPropCodeStorageID, |
|
35 EMTPObjectPropCodeObjectFormat, |
|
36 EMTPObjectPropCodeProtectionStatus, |
|
37 EMTPObjectPropCodeObjectSize, |
|
38 EMTPObjectPropCodeObjectFileName, |
|
39 EMTPObjectPropCodeDateModified, |
|
40 EMTPObjectPropCodeParentObject, |
|
41 EMTPObjectPropCodePersistentUniqueObjectIdentifier, |
|
42 EMTPObjectPropCodeName, |
|
43 EMTPObjectPropCodeNonConsumable |
|
44 }; |
|
45 |
|
46 /** |
|
47 Define the supported property number . |
|
48 @internalTechnology |
|
49 */ |
|
50 static const TUint16 KMTPDpPropertyNumber = sizeof(KMTPDpSupportedProperties)/sizeof(KMTPDpSupportedProperties[0]); |
|
51 |
|
52 |
|
53 /** |
|
54 Define the supported property group number . |
|
55 @internalTechnology |
|
56 */ |
|
57 static const TUint16 KMTPDpPropertyGroupNumber = 1; |
|
58 |
|
59 /** |
|
60 Define the properties groups supported. |
|
61 @internalTechnology |
|
62 */ |
|
63 |
|
64 static const TUint16 KMTPDpPropertyGroups[KMTPDpPropertyGroupNumber+1][KMTPDpPropertyNumber] = |
|
65 { |
|
66 {}, // group 0 is not used. |
|
67 // group 1 contains 10 proeprties |
|
68 { EMTPObjectPropCodeStorageID, |
|
69 EMTPObjectPropCodeObjectFormat, |
|
70 EMTPObjectPropCodeProtectionStatus, |
|
71 EMTPObjectPropCodeObjectSize, |
|
72 EMTPObjectPropCodeObjectFileName, |
|
73 EMTPObjectPropCodeDateModified, |
|
74 EMTPObjectPropCodeParentObject, |
|
75 EMTPObjectPropCodePersistentUniqueObjectIdentifier, |
|
76 EMTPObjectPropCodeName, |
|
77 EMTPObjectPropCodeNonConsumable } |
|
78 }; |
|
79 |
|
80 |
|
81 |
|
82 /** |
|
83 define the granularity from drive list |
|
84 @internalTechnology |
|
85 */ |
|
86 static const TInt KMTPDriveGranularity = 5; |
|
87 |
|
88 /** |
|
89 define the granularity for the exclusion list |
|
90 @internalTechnology |
|
91 */ |
|
92 static const TInt KMTPExclusionListGranularity = 5; |
|
93 |
|
94 /** |
|
95 define the drive root path length |
|
96 @internalTechnology |
|
97 */ |
|
98 static const TInt KMTPDriveLetterPrefixLength = 3; //c:\ |
|
99 |
|
100 #endif // MTPDPCONST_H |