|
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 CMTPIMAGEDPGETOBJECTPROPVALUE_H |
|
22 #define CMTPIMAGEDPGETOBJECTPROPVALUE_H |
|
23 |
|
24 #include "cmtprequestprocessor.h" |
|
25 |
|
26 class CMTPImageDpObjectPropertyMgr; |
|
27 class TMTPTypeUint8; |
|
28 class TMTPTypeUint16; |
|
29 class TMTPTypeUint32; |
|
30 class TMTPTypeUint64; |
|
31 class TMTPTypeUint128; |
|
32 class CMTPTypeString; |
|
33 class CMTPImageDataProvider; |
|
34 |
|
35 |
|
36 class CMTPImageDpGetObjectPropValue : public CMTPRequestProcessor |
|
37 { |
|
38 public: |
|
39 static MMTPRequestProcessor* NewL( |
|
40 MMTPDataProviderFramework& aFramework, |
|
41 MMTPConnection& aConnection,CMTPImageDataProvider& aDataProvider); |
|
42 ~CMTPImageDpGetObjectPropValue(); |
|
43 |
|
44 private: |
|
45 CMTPImageDpGetObjectPropValue( |
|
46 MMTPDataProviderFramework& aFramework, |
|
47 MMTPConnection& aConnection, |
|
48 CMTPImageDataProvider& aDataProvider); |
|
49 void ConstructL(); |
|
50 |
|
51 private: //from CMTPRequestProcessor |
|
52 virtual TMTPResponseCode CheckRequestL(); |
|
53 virtual void ServiceL(); |
|
54 |
|
55 private: |
|
56 void ServiceStorageIdL(); |
|
57 void ServiceObjectFormatL(); |
|
58 void ServiceProtectionStatusL(); |
|
59 void ServiceObjectSizeL(); |
|
60 void ServiceFileNameL(); |
|
61 void ServiceDateCreatedL(); |
|
62 void ServiceDateModifiedL(); |
|
63 void ServiceParentObjectL(); |
|
64 void ServicePuidL(); |
|
65 void ServiceNameL(); |
|
66 void ServiceWidthL(); |
|
67 void ServiceHeightL(); |
|
68 void ServiceImageBitDepthL(); |
|
69 void ServiceRepresentativeSampleFormatL(); |
|
70 void ServiceRepresentativeSampleSizeL(); |
|
71 void ServiceRepresentativeSampleHeightL(); |
|
72 void ServiceRepresentativeSampleWidthL(); |
|
73 void ServiceNonConsumableL(); |
|
74 |
|
75 private: |
|
76 CMTPImageDpObjectPropertyMgr& iObjectPropertyMgr; |
|
77 TMTPTypeUint8 iMTPTypeUint8; |
|
78 TMTPTypeUint16 iMTPTypeUint16; |
|
79 TMTPTypeUint32 iMTPTypeUint32; |
|
80 TMTPTypeUint64 iMTPTypeUint64; |
|
81 TMTPTypeUint128 iMTPTypeUint128; |
|
82 CMTPTypeString* iMTPTypeString; |
|
83 CMTPObjectMetaData* iObjectMeta; |
|
84 |
|
85 /** |
|
86 FLOGGER debug trace member variable. |
|
87 */ |
|
88 __FLOG_DECLARATION_MEMBER_MUTABLE; |
|
89 }; |
|
90 |
|
91 #endif //CMTPIMAGEDPGETOBJECTPROPVALUE_H |
|
92 |