|
1 |
|
2 // Copyright (c) 2009 Nokia Corporation and/or its subsidiary(-ies). |
|
3 // All rights reserved. |
|
4 // This component and the accompanying materials are made available |
|
5 // under the terms of "Eclipse Public License v1.0" |
|
6 // which accompanies this distribution, and is available |
|
7 // at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
8 // |
|
9 // Initial Contributors: |
|
10 // Nokia Corporation - initial contribution. |
|
11 // |
|
12 // Contributors: |
|
13 // |
|
14 // Description: |
|
15 // |
|
16 |
|
17 /** |
|
18 @file |
|
19 @internalTechnology |
|
20 */ |
|
21 #ifndef CMTPIMAGEDPSETOBJECTPROPVALUE_H |
|
22 #define CMTPIMAGEDPSETOBJECTPROPVALUE_H |
|
23 |
|
24 #include "cmtprequestprocessor.h" |
|
25 |
|
26 class CMTPImageDpObjectPropertyMgr; |
|
27 class CMTPTypeString; |
|
28 class TMTPTypeUint8; |
|
29 class CMTPImageDataProvider; |
|
30 |
|
31 |
|
32 class CMTPImageDpSetObjectPropValue : public CMTPRequestProcessor |
|
33 { |
|
34 public: |
|
35 static MMTPRequestProcessor* NewL( |
|
36 MMTPDataProviderFramework& aFramework, |
|
37 MMTPConnection& aConnection,CMTPImageDataProvider& aDataProvider); |
|
38 ~CMTPImageDpSetObjectPropValue(); |
|
39 |
|
40 private: |
|
41 CMTPImageDpSetObjectPropValue( |
|
42 MMTPDataProviderFramework& aFramework, |
|
43 MMTPConnection& aConnection, |
|
44 CMTPImageDataProvider& aDataProvider); |
|
45 void ConstructL(); |
|
46 TBool IsPropCodeReadonly(TUint32 aObjectPropCode); |
|
47 |
|
48 private: //from CMTPRequestProcessor |
|
49 virtual TMTPResponseCode CheckRequestL(); |
|
50 virtual void ServiceL(); |
|
51 virtual TBool DoHandleResponsePhaseL(); |
|
52 TBool HasDataphase() const; |
|
53 |
|
54 private: |
|
55 /** |
|
56 FLOGGER debug trace member variable. |
|
57 **/ |
|
58 __FLOG_DECLARATION_MEMBER_MUTABLE; |
|
59 |
|
60 CMTPImageDataProvider& iDataProvider; |
|
61 CMTPImageDpObjectPropertyMgr& iObjectPropertyMgr; |
|
62 CMTPTypeString* iMTPTypeString; |
|
63 TMTPTypeUint8 iMTPTypeUint8; |
|
64 TMTPTypeUint16 iMTPTypeUint16; |
|
65 TMTPTypeUint32 iMTPTypeUint32; |
|
66 CMTPObjectMetaData* iObjectMeta; |
|
67 }; |
|
68 |
|
69 #endif //CMTPIMAGEDPSETOBJECTPROPVALUE_H |
|
70 |