mtpdataproviders/mtpimagedp/inc/cmtpimagedpsetobjectproplist.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  @internalTechnology
       
    19 */
       
    20 
       
    21 #ifndef CMTPIMAGEDPSETOBJECTPROPLIST_H
       
    22 #define CMTPIMAGEDPSETOBJECTPROPLIST_H
       
    23 
       
    24 #include "cmtprequestprocessor.h"
       
    25 
       
    26 class CMTPImageDpObjectPropertyMgr;
       
    27 class CMTPTypeObjectPropList;
       
    28 class CMTPImageDataProvider;
       
    29 
       
    30 /** 
       
    31 Implements the file data provider SetObjectPropsList request processor.
       
    32 */
       
    33 class CMTPImageDpSetObjectPropList : public CMTPRequestProcessor
       
    34     {
       
    35 public:
       
    36 
       
    37     static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection,CMTPImageDataProvider& aDataProvider);    
       
    38     ~CMTPImageDpSetObjectPropList();    
       
    39     
       
    40 private:
       
    41 
       
    42     CMTPImageDpSetObjectPropList(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection,CMTPImageDataProvider& aDataProvider);
       
    43     void ConstructL();
       
    44 
       
    45 private: // From CMTPRequestProcessor
       
    46 
       
    47     void ServiceL();
       
    48     TBool DoHandleResponsePhaseL();
       
    49     TBool HasDataphase() const;
       
    50     
       
    51 private:
       
    52 
       
    53     TMTPResponseCode CheckPropCode(TUint16 aPropertyCode, TUint16 aDataType) const;
       
    54 
       
    55 private:
       
    56 
       
    57     /**
       
    58     FLOGGER debug trace member variable.
       
    59     **/
       
    60     __FLOG_DECLARATION_MEMBER_MUTABLE;
       
    61     
       
    62     CMTPImageDataProvider&         iDataProvider;
       
    63     CMTPImageDpObjectPropertyMgr&  iPropertyMgr;
       
    64     CMTPTypeObjectPropList* iPropertyList;
       
    65     CMTPObjectMetaData*		iObjectMeta;
       
    66     };
       
    67     
       
    68 #endif // CMTPIMAGEDPSETOBJECTPROPLIST_H
       
    69