49 #include "cmtpresetdevicepropvalue.h" |
49 #include "cmtpresetdevicepropvalue.h" |
50 #include "cmtpgetinterdependentpropdesc.h" |
50 #include "cmtpgetinterdependentpropdesc.h" |
51 #include "cmtpgetserviceids.h" |
51 #include "cmtpgetserviceids.h" |
52 #include "cmtpgetserviceinfo.h" |
52 #include "cmtpgetserviceinfo.h" |
53 #include "cmtpgetformatcapabilities.h" |
53 #include "cmtpgetformatcapabilities.h" |
|
54 #include "cmtpsetobjectprotection.h" |
54 /** |
55 /** |
55 device data provider mapping table from request ID to factory method of the request processor |
56 device data provider mapping table from request ID to factory method of the request processor |
56 */ |
57 */ |
57 static const TMTPRequestProcessorEntry KMTPRequestProcessorTable[] = |
58 static const TMTPRequestProcessorEntry KMTPRequestProcessorTable[] = |
58 { |
59 { |
85 {EMTPOpCodeSetObjectPropValue, CMTPSetObjectPropValue::NewL}, |
86 {EMTPOpCodeSetObjectPropValue, CMTPSetObjectPropValue::NewL}, |
86 {EMTPOpCodeSetObjectReferences, CMTPSetReferences::NewL}, |
87 {EMTPOpCodeSetObjectReferences, CMTPSetReferences::NewL}, |
87 {EMTPOpCodeResetDevicePropValue, CMTPResetDevicePropValue::NewL}, |
88 {EMTPOpCodeResetDevicePropValue, CMTPResetDevicePropValue::NewL}, |
88 {EMTPOpCodeGetServiceIDs, CMTPGetServiceIds::NewL}, |
89 {EMTPOpCodeGetServiceIDs, CMTPGetServiceIds::NewL}, |
89 {EMTPOpCodeGetServiceInfo, CMTPGetServiceInfo::NewL}, |
90 {EMTPOpCodeGetServiceInfo, CMTPGetServiceInfo::NewL}, |
90 {EMTPOpCodeGetFormatCapabilities,CMTPGetFormatCapabilities::NewL} |
91 {EMTPOpCodeGetFormatCapabilities,CMTPGetFormatCapabilities::NewL}, |
|
92 {EMTPOpCodeSetObjectProtection, CMTPSetObjectProtection::NewL} |
91 }; |
93 }; |
92 |
94 |
93 /** |
95 /** |
94 Create a request processor that matches the request |
96 Create a request processor that matches the request |
95 @param aPlugin The reference to the data provider plugin |
97 @param aPlugin The reference to the data provider plugin |