mtpdataproviders/mtppictbridgedp/inc/cmtppictbridgedpgetobjectinfo.h
changeset 0 d0791faffa3f
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  @internalComponent
       
    19  */
       
    20 
       
    21 #ifndef CMTPPICTBRIDGEDPGETOBJECTINFO_H
       
    22 #define CMTPPICTBRIDGEDPGETOBJECTINFO_H
       
    23 
       
    24 #include <f32file.h>
       
    25 
       
    26 #include "cmtprequestprocessor.h"
       
    27 #include "cmtppictbridgedp.h"
       
    28 
       
    29 class CMTPTypeObjectInfo;
       
    30 
       
    31 class CMTPPictBridgeDpGetObjectInfo : public CMTPRequestProcessor
       
    32     {
       
    33 public:
       
    34     static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, CMTPPictBridgeDataProvider& aDataProvider);   
       
    35     ~CMTPPictBridgeDpGetObjectInfo();   
       
    36     
       
    37 private:
       
    38     CMTPPictBridgeDpGetObjectInfo(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, CMTPPictBridgeDataProvider& aDataProvider);   
       
    39     void ConstructL();
       
    40 
       
    41 private: // From CMTPRequestProcessor
       
    42     void ServiceL();
       
    43 
       
    44 private:
       
    45     void BuildObjectInfoL();
       
    46     void SetFileSizeDateL(const TDesC& aFileName, TBool aDiscoveryFile);    
       
    47 
       
    48 private:
       
    49     CMTPPictBridgeDataProvider& iPictBridgeDP;
       
    50     CMTPTypeObjectInfo* iObjectInfoToBuildP; // owned
       
    51     /**
       
    52     FLOGGER debug trace member variable.
       
    53     */
       
    54     __FLOG_DECLARATION_MEMBER_MUTABLE;
       
    55     };
       
    56 
       
    57 #endif CMTPPICTBRIDGEDPGETOBJECTINFO_H
       
    58