homescreensrv_plat/sapi_contentpublishing/src/cpclientsession.cpp
branchRCL_3
changeset 14 15e4dd19031c
parent 11 bd874ee5e5e2
equal deleted inserted replaced
12:502e5d91ad42 14:15e4dd19031c
   159 
   159 
   160 // -----------------------------------------------------------------------------
   160 // -----------------------------------------------------------------------------
   161 //
   161 //
   162 // -----------------------------------------------------------------------------
   162 // -----------------------------------------------------------------------------
   163 //
   163 //
       
   164 void RCPServerClient::ExecuteMultipleActionsL(
       
   165         const CLiwGenericParamList& aList, TUint aOptions)
       
   166     {
       
   167     CP_DEBUG( _L8("RCPServerClient::ExecuteMultipleActionsL()") );
       
   168     TIpcArgs args;
       
   169     TInt size = aList.Size();
       
   170     HBufC8* datadesc = HBufC8::NewLC( size );
       
   171     TPtr8 ptr = datadesc->Des();
       
   172     RDesWriteStream datastrm( ptr );
       
   173     CleanupClosePushL(datastrm);
       
   174     aList.ExternalizeL(datastrm);
       
   175     datastrm.CommitL();
       
   176     args.Set( KDescriptorPosition, &*datadesc );
       
   177     args.Set( KOptionsPosition, static_cast<TInt>( aOptions ) );
       
   178     User::LeaveIfError(SendReceive(ECpServerExecuteMultipleActions, args));
       
   179     CleanupStack::PopAndDestroy(&datastrm);
       
   180     CleanupStack::PopAndDestroy(datadesc);
       
   181     }
       
   182 
       
   183 // -----------------------------------------------------------------------------
       
   184 //
       
   185 // -----------------------------------------------------------------------------
       
   186 //
   164 void RCPServerClient::DeleteL( const CCPLiwMap& aMap )
   187 void RCPServerClient::DeleteL( const CCPLiwMap& aMap )
   165     {
   188     {
   166     CP_DEBUG( _L8("RCPServerClient::DeleteL()") );
   189     CP_DEBUG( _L8("RCPServerClient::DeleteL()") );
   167     HBufC8 *inbuf = aMap.PackForServerLC( );
   190     HBufC8 *inbuf = aMap.PackForServerLC( );
   168     TIpcArgs args;
   191     TIpcArgs args;