mtpfws/mtpfw/dataproviders/dputility/inc/cmtpsvcgetserviceproplist.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/cmtpsvcgetserviceproplist.h
       
    15 
       
    16 /**
       
    17  @file
       
    18  @internalComponent
       
    19  */
       
    20 
       
    21 #ifndef __CMTPSVCGETSERVICEPROPLIST_H__
       
    22 #define __CMTPSVCGETSERVICEPROPLIST_H__
       
    23 
       
    24 #include <mtp/cmtptypeserviceproplist.h>
       
    25 #include "cmtprequestprocessor.h"
       
    26 
       
    27 class MMTPServiceDataProvider;
       
    28 
       
    29 /** 
       
    30 Implements the service data provider GetServicePropList request processor.
       
    31 @internalComponent
       
    32 */
       
    33 class CMTPSvcGetServicePropList : public CMTPRequestProcessor
       
    34 	{
       
    35 public:
       
    36 	IMPORT_C static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, MMTPServiceDataProvider& aDataProvider);    
       
    37 	IMPORT_C ~CMTPSvcGetServicePropList();
       
    38 
       
    39 	// From CMTPRequestProcessor
       
    40 	void ServiceL();
       
    41 	TMTPResponseCode CheckRequestL();
       
    42 
       
    43 private:
       
    44 	CMTPSvcGetServicePropList(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, MMTPServiceDataProvider& aDataProvider);
       
    45 	void ConstructL();
       
    46 	TBool DoHandleResponsePhaseL();
       
    47 
       
    48 private:
       
    49 	CMTPTypeServicePropList*     iServicePropList;
       
    50 	MMTPServiceDataProvider&     iDataProvider;
       
    51 	TMTPResponseCode             iResponseCode;
       
    52 	/**
       
    53 	FLOGGER debug trace member variable.
       
    54 	*/
       
    55 	__FLOG_DECLARATION_MEMBER_MUTABLE;
       
    56 	};
       
    57 
       
    58 #endif // __CMTPSVCGETSERVICEPROPLIST_H__
       
    59