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