mtpdataproviders/mtpfileandfolderdp/inc/mtpfiledpconst.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2006-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 // mmtpfiledpconst.h
       
    15 // 
       
    16 //
       
    17 
       
    18 /**
       
    19  @file
       
    20  @internalTechnology
       
    21 */
       
    22 
       
    23 #ifndef __MTPFILEDPCONST_H__
       
    24 #define __MTPFILEDPCONST_H__
       
    25 
       
    26 #include <mtp/mtpprotocolconstants.h>
       
    27 
       
    28 
       
    29 /**
       
    30 define all the operations that are supported by the file data provider
       
    31 @internalTechnology
       
    32 
       
    33 */
       
    34 static const TUint16 KMTPFileDpSupportedOperations[] = 
       
    35 	{
       
    36 	EMTPOpCodeGetObjectInfo,
       
    37 	EMTPOpCodeGetObject,
       
    38 	EMTPOpCodeDeleteObject,
       
    39 	EMTPOpCodeSendObjectInfo,
       
    40 	EMTPOpCodeSendObject,
       
    41 	EMTPOpCodeMoveObject,
       
    42 	EMTPOpCodeCopyObject,
       
    43 	EMTPOpCodeGetPartialObject,
       
    44 		
       
    45 	//MTP op codes
       
    46 	EMTPOpCodeGetObjectPropsSupported,
       
    47 	EMTPOpCodeGetObjectPropDesc,
       
    48 	EMTPOpCodeGetObjectPropValue,
       
    49 	EMTPOpCodeSetObjectPropValue,
       
    50 	EMTPOpCodeGetObjectReferences,
       
    51 	EMTPOpCodeSetObjectReferences,
       
    52 	//EMTPOpCodeSkip,
       
    53 	
       
    54 	//MTP enhanced operation codes
       
    55 	EMTPOpCodeGetObjectPropList,
       
    56 	EMTPOpCodeSetObjectPropList,
       
    57 	EMTPOpCodeSendObjectPropList,
       
    58 	EMTPOpCodeGetFormatCapabilities,
       
    59 	EMTPOpCodeSetObjectProtection
       
    60 	};	
       
    61 
       
    62 /**
       
    63 define all the object properties that are supported by the file data provider
       
    64 @internalTechnology
       
    65 
       
    66 */
       
    67 static const TUint16 KMTPFileDpSupportedProperties[] =
       
    68 	{
       
    69 	EMTPObjectPropCodeStorageID,
       
    70 	EMTPObjectPropCodeObjectFormat,
       
    71 	EMTPObjectPropCodeProtectionStatus,
       
    72 	EMTPObjectPropCodeObjectSize,
       
    73 	EMTPObjectPropCodeObjectFileName,
       
    74 	EMTPObjectPropCodeDateModified,
       
    75 	EMTPObjectPropCodeParentObject,
       
    76 	EMTPObjectPropCodePersistentUniqueObjectIdentifier,
       
    77 	EMTPObjectPropCodeName,
       
    78 	EMTPObjectPropCodeNonConsumable	
       
    79 	};
       
    80 
       
    81 /**
       
    82 define the granularity from drive list
       
    83 @internalTechnology
       
    84 
       
    85 */
       
    86 static const TInt KMTPDriveGranularity = 5;
       
    87 
       
    88 /**
       
    89 define the granularity for the exclusion list
       
    90 @internalTechnology
       
    91 
       
    92 */
       
    93 static const TInt KMTPExclusionListGranularity = 5;
       
    94 
       
    95 /**
       
    96 define the drive root path length
       
    97 @internalTechnology
       
    98 
       
    99 */
       
   100 static const TInt KMTPDriveLetterPrefixLength = 3; //c:\
       
   101 	
       
   102 #endif // __MTPFILEDPCONST_H__
       
   103