mtpdataproviders/mtpimagedp/inc/cmtpimagedpgetobject.h
changeset 0 d0791faffa3f
child 2 4843bb5893b6
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     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:
       
    14 //
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalTechnology
       
    19 */
       
    20 
       
    21 #ifndef CMTPIMAGEDPGETOBJECT_H
       
    22 #define CMTPIMAGEDPGETOBJECT_H
       
    23 
       
    24 #include "cmtprequestprocessor.h"
       
    25 
       
    26 class CMTPTypeFile;
       
    27 class CMTPImageDataProvider;
       
    28 
       
    29 /** 
       
    30 Defines file data provider GetObject request processor
       
    31 @internalComponent
       
    32 */
       
    33 class CMTPImageDpGetObject : public CMTPRequestProcessor
       
    34 	{
       
    35 public:
       
    36 
       
    37 	static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection,CMTPImageDataProvider& aDataProvider);    
       
    38 	~CMTPImageDpGetObject();    
       
    39 
       
    40 private: // From CMTPRequestProcessor
       
    41 
       
    42 	void ServiceL();
       
    43 	TBool DoHandleCompletingPhaseL();
       
    44 	
       
    45 private: 
       
    46 
       
    47 	CMTPImageDpGetObject(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, CMTPImageDataProvider& aDataProvider);
       
    48 	void ConstructL();
       
    49 
       
    50 	void BuildFileObjectL(const TDesC& aFileName);
       
    51 
       
    52 private: // Owned
       
    53 
       
    54 	/**
       
    55 	FLOGGER debug trace member variable.
       
    56 	 */
       
    57 	__FLOG_DECLARATION_MEMBER_MUTABLE;
       
    58 	
       
    59 	CMTPTypeFile*          iFileObject;
       
    60 	CMTPImageDataProvider& iDataProvider;
       
    61 	};
       
    62 #endif // CMTPIMAGEDPGETOBJECT_H
       
    63