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