|
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 @internalTechnology |
|
19 */ |
|
20 |
|
21 #ifndef CMTPIMAGEDPSETOBJECTREFERENCES_H |
|
22 #define CMTPIMAGEDPSETOBJECTREFERENCES_H |
|
23 |
|
24 #include "cmtprequestprocessor.h" |
|
25 |
|
26 class CMTPTypeArray; |
|
27 class CMTPImageDataProvider; |
|
28 |
|
29 /** |
|
30 Defines generic file system object GetObjectReferences request processor. |
|
31 @internalTechnology |
|
32 */ |
|
33 class CMTPImageDpSetObjectReferences : public CMTPRequestProcessor |
|
34 { |
|
35 public: |
|
36 static MMTPRequestProcessor* NewL(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, CMTPImageDataProvider& aDataProvider); |
|
37 ~CMTPImageDpSetObjectReferences(); |
|
38 |
|
39 private: |
|
40 CMTPImageDpSetObjectReferences(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection); |
|
41 void ConstructL(); |
|
42 |
|
43 private: // From CMTPRequestProcessor |
|
44 virtual TMTPResponseCode CheckRequestL(); |
|
45 virtual void ServiceL(); |
|
46 TBool HasDataphase() const; |
|
47 TBool DoHandleResponsePhaseL(); |
|
48 |
|
49 private: |
|
50 TBool VerifyReferenceHandlesL() const; |
|
51 |
|
52 private: |
|
53 /** |
|
54 FLOGGER debug trace member variable. |
|
55 **/ |
|
56 __FLOG_DECLARATION_MEMBER_MUTABLE; |
|
57 |
|
58 CMTPTypeArray* iReferences; |
|
59 }; |
|
60 |
|
61 #endif // CMTPIMAGEDPSETOBJECTREFERENCES_H |
|
62 |