equal
deleted
inserted
replaced
|
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 // |
|
15 |
|
16 /** |
|
17 @file |
|
18 @internalComponent |
|
19 */ |
|
20 |
|
21 #ifndef CMTPGETPARTIALOBJECT_H |
|
22 #define CMTPGETPARTIALOBJECT_H |
|
23 |
|
24 #include "cmtprequestprocessor.h" |
|
25 #include "mtpdebug.h" |
|
26 |
|
27 class CMTPTypeFile; |
|
28 |
|
29 /** |
|
30 Defines file data provider GetObject request processor |
|
31 @internalComponent |
|
32 */ |
|
33 class CMTPGetPartialObject : public CMTPRequestProcessor |
|
34 { |
|
35 public: |
|
36 |
|
37 IMPORT_C static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection); |
|
38 IMPORT_C ~CMTPGetPartialObject(); |
|
39 |
|
40 private: // From CMTPRequestProcessor |
|
41 |
|
42 void ServiceL(); |
|
43 TBool DoHandleResponsePhaseL(); |
|
44 TMTPResponseCode CheckRequestL(); |
|
45 |
|
46 private: |
|
47 |
|
48 CMTPGetPartialObject(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection); |
|
49 void ConstructL(); |
|
50 |
|
51 |
|
52 private: // Owned |
|
53 |
|
54 /** |
|
55 FLOGGER debug trace member variable. |
|
56 */ |
|
57 __FLOG_DECLARATION_MEMBER_MUTABLE; |
|
58 |
|
59 CMTPTypeFile* iFileObject; |
|
60 CMTPObjectMetaData* iObjectInfo; |
|
61 TUint iOffset; |
|
62 TUint iLength; |
|
63 |
|
64 }; |
|
65 |
|
66 #endif // CMTPGETPARTIALOBJECT_H |
|
67 |