diff -r f8e15b44d440 -r 4843bb5893b6 mtpfws/mtpfw/dataproviders/proxydp/src/cmtpdeleteobject.cpp --- a/mtpfws/mtpfw/dataproviders/proxydp/src/cmtpdeleteobject.cpp Fri Feb 19 23:40:44 2010 +0200 +++ b/mtpfws/mtpfw/dataproviders/proxydp/src/cmtpdeleteobject.cpp Fri Mar 12 15:46:41 2010 +0200 @@ -35,6 +35,14 @@ const TUint KInvalidDpId = 0xFF; /** +Verification data for the DeleteObject request +*/ +const TMTPRequestElementInfo KMTPDeleteObjectPolicy[] = + { + { TMTPTypeRequest::ERequestParameter1, EMTPElementTypeObjectHandle, (EMTPElementAttrDir | EMTPElementAttrWrite), 1, KMTPHandleAll, 0 } + }; + +/** Two-phase construction method @param aFramework The data provider framework @param aConnection The connection from which the request comes @@ -67,7 +75,7 @@ Constructor */ CMTPDeleteObject::CMTPDeleteObject(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection) : - CMTPRequestProcessor(aFramework, aConnection, 0, NULL), + CMTPRequestProcessor(aFramework, aConnection, sizeof(KMTPDeleteObjectPolicy)/sizeof(TMTPRequestElementInfo), KMTPDeleteObjectPolicy), iDeletedObjectsNumber(0) { __FLOG_OPEN( KMTPSubsystem, KComponent );