mtpfws/mtpfw/dataproviders/dputility/inc/cmtpgetobjectpropvalue.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 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalTechnology
       
    19 */
       
    20 
       
    21 #ifndef __CMTPGETOBJECTPROPVALUE_H__
       
    22 #define __CMTPGETOBJECTPROPVALUE_H__
       
    23 
       
    24 #include "cmtprequestprocessor.h"
       
    25 #include <mtp/cmtpobjectmetadata.h>
       
    26 #include <f32file.h> 
       
    27 
       
    28 class TMTPTypeUint8;
       
    29 class TMTPTypeUint16;
       
    30 class TMTPTypeUint32;
       
    31 class TMTPTypeUint64;
       
    32 class TMTPTypeUint128;
       
    33 class CMTPTypeString;
       
    34 
       
    35 /** 
       
    36 Defines file data provider GetObjectPropsSupported request processor
       
    37 
       
    38 @internalTechnology
       
    39 */
       
    40 class CMTPGetObjectPropValue : public CMTPRequestProcessor
       
    41 	{
       
    42 public:
       
    43 	IMPORT_C static MMTPRequestProcessor* NewL(
       
    44 									MMTPDataProviderFramework& aFramework,
       
    45 									MMTPConnection& aConnection);	
       
    46 	IMPORT_C ~CMTPGetObjectPropValue();	
       
    47 	
       
    48 private:	
       
    49 	CMTPGetObjectPropValue(
       
    50 					MMTPDataProviderFramework& aFramework,
       
    51 					MMTPConnection& aConnection);
       
    52 	void ConstructL();
       
    53 
       
    54 private:	//from CMTPRequestProcessor
       
    55 	virtual TMTPResponseCode CheckRequestL();
       
    56 	virtual void ServiceL();
       
    57 
       
    58 private:
       
    59 	//helper
       
    60 	void ServiceStorageIdL();
       
    61 	void ServiceObjectFormatL();
       
    62 	void ServiceProtectionStatusL();
       
    63 	void ServiceObjectSizeL();
       
    64 	void ServiceObjectAssociationTypeL();
       
    65 	void ServiceObjectAssociationDescL();
       
    66 	void ServiceFileNameL();
       
    67 	void ServiceDateModifiedL();
       
    68 	void ServiceParentObjectL();
       
    69 	void ServicePuidL();
       
    70 	void ServiceNameL();
       
    71 	void ServiceNonConsumableL();
       
    72 private:
       
    73 	TMTPTypeUint8			iMTPTypeUint8;
       
    74 	TMTPTypeUint16			iMTPTypeUint16;
       
    75 	TMTPTypeUint32			iMTPTypeUint32;
       
    76 	TMTPTypeUint64			iMTPTypeUint64;
       
    77 	TMTPTypeUint128			iMTPTypeUint128;
       
    78 	CMTPTypeString*			iMTPTypeString;
       
    79 	CMTPObjectMetaData*		iObjMeta;
       
    80 	TEntry 					iFileEntry;
       
    81 	RFs&					iRfs;
       
    82 	};
       
    83 	
       
    84 #endif
       
    85