mtpdataproviders/mtpimagedp/inc/cmtpimagedpgetthumb.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 CMTPIMAGEDPGETTHUMB_H
       
    22 #define CMTPIMAGEDPGETTHUMB_H
       
    23 
       
    24 #include "cmtprequestprocessor.h"
       
    25 
       
    26 
       
    27 class CMTPImageDpThumbnailCreator;
       
    28 class CMTPImageDataProvider;
       
    29 class CMTPTypeOpaqueData;
       
    30 
       
    31 /** 
       
    32 Defines file data provider GetObject request processor
       
    33 @internalComponent
       
    34 */
       
    35 
       
    36 class CMTPImageDpGetThumb : public CMTPRequestProcessor
       
    37     {
       
    38 public:
       
    39 
       
    40 	static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection,CMTPImageDataProvider& aDataProvider);
       
    41 	~CMTPImageDpGetThumb();    
       
    42 
       
    43 private: // From CMTPRequestProcessor
       
    44 
       
    45     void ServiceL();
       
    46     TMTPResponseCode CheckRequestL();
       
    47     TBool DoHandleCompletingPhaseL();
       
    48 private: 
       
    49    
       
    50     CMTPImageDpGetThumb(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection,CMTPImageDataProvider& aDataProvider);
       
    51     void ConstructL();
       
    52         
       
    53 private: // Owned
       
    54 
       
    55     /**
       
    56     FLOGGER debug trace member variable.
       
    57     */
       
    58     __FLOG_DECLARATION_MEMBER_MUTABLE;
       
    59     CMTPImageDataProvider& imgDp;
       
    60     CMTPTypeOpaqueData*    iThumb;
       
    61     CMTPObjectMetaData*    iObjectMeta;
       
    62     };
       
    63     
       
    64 #endif // CMTPIMAGEDPGETTHUMB_H
       
    65