|
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 @file |
|
17 @internalComponent |
|
18 */ |
|
19 |
|
20 #ifndef MTPPICTBRIDGEGETOBJECTPROPDESC_H_ |
|
21 #define MTPPICTBRIDGEGETOBJECTPROPDESC_H_ |
|
22 |
|
23 #include "cmtprequestprocessor.h" |
|
24 #include "cmtppictbridgedp.h" |
|
25 |
|
26 class CMTPTypeObjectPropDesc; |
|
27 |
|
28 /** |
|
29 Defines pictbridge data provider GetObjectPropDesc request processor |
|
30 @internalTechnology |
|
31 */ |
|
32 class CMTPPictBridgeGetObjectPropDesc : public CMTPRequestProcessor |
|
33 { |
|
34 public: |
|
35 static MMTPRequestProcessor* NewL( MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, CMTPPictBridgeDataProvider& aDataProvider ); |
|
36 ~CMTPPictBridgeGetObjectPropDesc(); |
|
37 |
|
38 private: |
|
39 CMTPPictBridgeGetObjectPropDesc(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection, CMTPPictBridgeDataProvider& aDataProvider); |
|
40 void ConstructL(); |
|
41 |
|
42 private: //from CMTPRequestProcessor |
|
43 void ServiceL(); |
|
44 |
|
45 private: |
|
46 //helper |
|
47 void ServiceStorageIdL(); |
|
48 void ServiceObjectFormatL(); |
|
49 void ServiceProtectionStatusL(); |
|
50 void ServiceObjectSizeL(); |
|
51 void ServiceFileNameL(); |
|
52 void ServiceDateModifiedL(); |
|
53 void ServiceParentObjectL(); |
|
54 void ServicePuidL(); |
|
55 void ServiceNameL(); |
|
56 void ServiceNonConsumableL(); |
|
57 TUint16 GetPropertyGroupNumber(const TUint16 aPropCode) const; |
|
58 |
|
59 private: |
|
60 CMTPTypeObjectPropDesc* iObjectProperty; |
|
61 CMTPPictBridgeDataProvider& iPictBridgeDP; |
|
62 }; |
|
63 |
|
64 #endif /* MTPPICTBRIDGEGETOBJECTPROPDESC_H_ */ |
|
65 |