mtpfws/mtpfw/dataproviders/dputility/inc/cmtpsvcdeleteobjectproplist.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2008-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 // mw/remoteconn/mtpfws/mtpfw/dataproviders/dputility/inc/cmtpsvcdeleteobjectproplist.h
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19  */
       
    20 
       
    21 #ifndef __CMTPSVCDELETEOBJECTPROPLIST_H__
       
    22 #define __CMTPSVCDELETEOBJECTPROPLIST_H__
       
    23 
       
    24 #include "cmtprequestprocessor.h"
       
    25 
       
    26 class MMTPServiceDataProvider;
       
    27 class CMTPTypeDeleteObjectPropList;
       
    28 
       
    29 /** 
       
    30 Implements the service data provider DeleteObjectPropList request processor.
       
    31 @internalComponent
       
    32 */
       
    33 class CMTPSvcDeleteObjectPropList : public CMTPRequestProcessor
       
    34 	{
       
    35 public:
       
    36 	IMPORT_C static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, MMTPServiceDataProvider& aDataProvider);    
       
    37 	IMPORT_C ~CMTPSvcDeleteObjectPropList(); 
       
    38 
       
    39 private:
       
    40 	CMTPSvcDeleteObjectPropList(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, MMTPServiceDataProvider& aDataProvider);
       
    41 	void ConstructL();
       
    42 	
       
    43 	TMTPResponseCode CheckObjectHandleL(TUint32 aHandle) const;
       
    44 	// From CMTPRequestProcessor
       
    45 	TMTPResponseCode CheckRequestL();
       
    46 	void ServiceL();
       
    47 	TBool DoHandleResponsePhaseL();
       
    48 	TBool HasDataphase() const;
       
    49 	TMTPResponseCode DeleteObjectPropListL(CMTPObjectMetaData& aObjectMetaData, 
       
    50 										const CMTPTypeDeleteObjectPropList& aPropList, 
       
    51 										TUint32& aParameter);
       
    52 
       
    53 private:
       
    54 	MMTPServiceDataProvider&       iDataProvider;
       
    55 	CMTPTypeDeleteObjectPropList*  iPropertyList;
       
    56 	CMTPObjectMetaData*            iReceivedObjectMetaData;
       
    57 	/**
       
    58 	FLOGGER debug trace member variable.
       
    59 	*/
       
    60 	__FLOG_DECLARATION_MEMBER_MUTABLE;
       
    61 	};
       
    62 
       
    63 #endif // __CMTPSVCDELETEOBJECTPROPLIST_H__