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 #include "cmtpsetobjectprotection.h" |
|
55 #include "cmtpcommonrequestprocessor.h" |
|
56 |
55 /** |
57 /** |
56 device data provider mapping table from request ID to factory method of the request processor |
58 device data provider mapping table from request ID to factory method of the request processor |
57 */ |
59 */ |
58 static const TMTPRequestProcessorEntry KMTPRequestProcessorTable[] = |
60 static const TMTPRequestProcessorEntry KMTPRequestProcessorTable[] = |
59 { |
61 { |
87 {EMTPOpCodeSetObjectReferences, CMTPSetReferences::NewL}, |
89 {EMTPOpCodeSetObjectReferences, CMTPSetReferences::NewL}, |
88 {EMTPOpCodeResetDevicePropValue, CMTPResetDevicePropValue::NewL}, |
90 {EMTPOpCodeResetDevicePropValue, CMTPResetDevicePropValue::NewL}, |
89 {EMTPOpCodeGetServiceIDs, CMTPGetServiceIds::NewL}, |
91 {EMTPOpCodeGetServiceIDs, CMTPGetServiceIds::NewL}, |
90 {EMTPOpCodeGetServiceInfo, CMTPGetServiceInfo::NewL}, |
92 {EMTPOpCodeGetServiceInfo, CMTPGetServiceInfo::NewL}, |
91 {EMTPOpCodeGetFormatCapabilities,CMTPGetFormatCapabilities::NewL}, |
93 {EMTPOpCodeGetFormatCapabilities,CMTPGetFormatCapabilities::NewL}, |
92 {EMTPOpCodeSetObjectProtection, CMTPSetObjectProtection::NewL} |
94 {EMTPOpCodeSetObjectProtection, CMTPSetObjectProtection::NewL}, |
|
95 {EMTPOpCodeSetServicePropList,CMTPCommonRequestProcessor::NewL<EMTPRespCodeInvalidServiceID, ETrue>}, |
|
96 {EMTPOpCodeDeleteServicePropList,CMTPCommonRequestProcessor::NewL<EMTPRespCodeInvalidServiceID, ETrue>} |
93 }; |
97 }; |
94 |
98 |
95 /** |
99 /** |
96 Create a request processor that matches the request |
100 Create a request processor that matches the request |
97 @param aPlugin The reference to the data provider plugin |
101 @param aPlugin The reference to the data provider plugin |