mtpfws/mtpfw/dataproviders/proxydp/src/cmtpdeleteobject.cpp
branchRCL_3
changeset 11 4843bb5893b6
parent 6 f8e15b44d440
child 12 8b094906a049
equal deleted inserted replaced
6:f8e15b44d440 11:4843bb5893b6
    33 
    33 
    34 __FLOG_STMT( _LIT8( KComponent,"PrxyDelObj" ); )
    34 __FLOG_STMT( _LIT8( KComponent,"PrxyDelObj" ); )
    35 const TUint KInvalidDpId = 0xFF;
    35 const TUint KInvalidDpId = 0xFF;
    36 
    36 
    37 /**
    37 /**
       
    38 Verification data for the DeleteObject request
       
    39 */
       
    40 const TMTPRequestElementInfo KMTPDeleteObjectPolicy[] = 
       
    41     {
       
    42         { TMTPTypeRequest::ERequestParameter1, EMTPElementTypeObjectHandle, (EMTPElementAttrDir | EMTPElementAttrWrite), 1, KMTPHandleAll, 0 }
       
    43     };
       
    44 
       
    45 /**
    38 Two-phase construction method
    46 Two-phase construction method
    39 @param aFramework    The data provider framework
    47 @param aFramework    The data provider framework
    40 @param aConnection    The connection from which the request comes
    48 @param aConnection    The connection from which the request comes
    41 @return a pointer to the created request processor object
    49 @return a pointer to the created request processor object
    42 */ 
    50 */ 
    65 
    73 
    66 /**
    74 /**
    67 Constructor
    75 Constructor
    68 */    
    76 */    
    69 CMTPDeleteObject::CMTPDeleteObject(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection) :
    77 CMTPDeleteObject::CMTPDeleteObject(MMTPDataProviderFramework& aFramework, MMTPConnection& aConnection) :
    70     CMTPRequestProcessor(aFramework, aConnection, 0, NULL),
    78     CMTPRequestProcessor(aFramework, aConnection, sizeof(KMTPDeleteObjectPolicy)/sizeof(TMTPRequestElementInfo), KMTPDeleteObjectPolicy),
    71     iDeletedObjectsNumber(0)
    79     iDeletedObjectsNumber(0)
    72     {
    80     {
    73     __FLOG_OPEN( KMTPSubsystem, KComponent );
    81     __FLOG_OPEN( KMTPSubsystem, KComponent );
    74     __FLOG( _L8("+/-Ctor") );
    82     __FLOG( _L8("+/-Ctor") );
    75     }
    83     }