mtpfws/mtpfw/dataproviders/dputility/inc/cmtpsvcsetreferences.h
changeset 0 d0791faffa3f
equal deleted inserted replaced
-1:000000000000 0:d0791faffa3f
       
     1 // Copyright (c) 2006-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/cmtpsvcsetreferences.h
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalTechnology
       
    19 */
       
    20 
       
    21 #ifndef __CMTPSVCSETREFERENCES_H__
       
    22 #define __CMTPSVCSETREFERENCES_H__
       
    23 
       
    24 #include "cmtprequestprocessor.h"
       
    25 class MMTPServiceDataProvider;
       
    26 class CMTPTypeArray;
       
    27 class CMTPObjectMetaData;
       
    28 
       
    29 /** 
       
    30 Defines generic file system object SetObjectReferences request processor.
       
    31 @internalTechnology
       
    32 */
       
    33 class CMTPSvcSetReferences : public CMTPRequestProcessor
       
    34 	{
       
    35 public:
       
    36 	IMPORT_C static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, 
       
    37 									MMTPConnection& aConnection, 
       
    38 									MMTPServiceDataProvider& aDataProvider);
       
    39 	IMPORT_C ~CMTPSvcSetReferences();
       
    40 
       
    41 private:
       
    42 	CMTPSvcSetReferences(MMTPDataProviderFramework& aFramework, 
       
    43 						MMTPConnection& aConnection, 
       
    44 						MMTPServiceDataProvider& aDataProvider);
       
    45 	TMTPResponseCode CheckRequestL();
       
    46 	virtual void ServiceL();
       
    47 	virtual TBool DoHandleResponsePhaseL();
       
    48 	TBool HasDataphase() const;
       
    49 
       
    50 	TBool VerifyReferenceHandlesL() const;
       
    51 
       
    52 private:
       
    53 	CMTPTypeArray*               iReferences;
       
    54 	MMTPServiceDataProvider&     iDataProvider;
       
    55 	CMTPObjectMetaData*          iReceivedObjectMetaData;
       
    56 	/**
       
    57 	FLOGGER debug trace member variable.
       
    58 	*/
       
    59 	__FLOG_DECLARATION_MEMBER_MUTABLE;
       
    60 	};
       
    61 
       
    62 #endif // __CMTPSVCSETREFERENCES_H__
       
    63