mtpfws/mtpfw/dataproviders/dputility/inc/cmtpgetobjectinfo.h
changeset 0 d0791faffa3f
child 4 60a94a45d437
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 CMTPGETOBJECTINFO_H
       
    22 #define CMTPGETOBJECTINFO_H
       
    23 
       
    24 #include <f32file.h>
       
    25 
       
    26 #include "cmtprequestprocessor.h"
       
    27 #include "rmtpdpsingletons.h"
       
    28 
       
    29 class CMTPTypeObjectInfo;
       
    30 
       
    31 
       
    32 /** 
       
    33 Defines file data provider GetObjectInfo request processor
       
    34 
       
    35 @internalTechnology
       
    36 */
       
    37 class CMTPGetObjectInfo : public CMTPRequestProcessor
       
    38 	{
       
    39 public:
       
    40 	
       
    41 	IMPORT_C static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);	
       
    42 	IMPORT_C ~CMTPGetObjectInfo();	
       
    43 	
       
    44 private:
       
    45 
       
    46 	CMTPGetObjectInfo(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection);
       
    47 	void ConstructL();
       
    48 
       
    49 private: // From CMTPRequestProcessor
       
    50 	
       
    51 	void ServiceL();
       
    52 
       
    53 private:
       
    54 
       
    55 	void BuildObjectInfoL();
       
    56 		
       
    57 private:
       
    58 
       
    59 	CMTPTypeObjectInfo*		iObjectInfoToBuild;
       
    60 	TEntry					iFileEntry;
       
    61 	RFs&					iRfs;
       
    62     RMTPDpSingletons		iDpSingletons; 
       
    63 	};
       
    64 	
       
    65 #endif CMTPGETOBJECTINFO_H