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