|
1 // Copyright (c) 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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 |
|
22 #ifndef CMTPPICTBRIDGEDPGETOBJECT_H |
|
23 #define CMTPPICTBRIDGEDPGETOBJECT_H |
|
24 |
|
25 #include "cmtprequestprocessor.h" |
|
26 #include "cmtppictbridgedp.h" |
|
27 |
|
28 class CMTPTypeFile; |
|
29 |
|
30 class CMTPPictBridgeDpGetObject : public CMTPRequestProcessor |
|
31 { |
|
32 public: |
|
33 static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, CMTPPictBridgeDataProvider& aDataProvider); |
|
34 ~CMTPPictBridgeDpGetObject(); |
|
35 |
|
36 private: // From CMTPRequestProcessor |
|
37 void ServiceL(); |
|
38 TBool DoHandleResponsePhaseL(); |
|
39 |
|
40 private: |
|
41 CMTPPictBridgeDpGetObject(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, CMTPPictBridgeDataProvider& aDataProvider); |
|
42 void ConstructL(); |
|
43 void BuildFileObjectL(const TDesC& aFileName); |
|
44 |
|
45 private: // Owned |
|
46 CMTPPictBridgeDataProvider& iPictBridgeDP; |
|
47 CMTPTypeFile* iFileObject; // owned |
|
48 TMTPResponseCode iError; |
|
49 |
|
50 /** |
|
51 FLOGGER debug trace member variable. |
|
52 */ |
|
53 __FLOG_DECLARATION_MEMBER_MUTABLE; |
|
54 }; |
|
55 |
|
56 #endif // CMTPPICTBRIDGEDPGETOBJECT_H |
|
57 |