homescreensrv_plat/sapi_contentpublishing/src/cpclientsession.cpp
branchRCL_3
changeset 18 bd874ee5e5e2
parent 0 79c6a41cd166
child 51 15e4dd19031c
equal deleted inserted replaced
9:d0529222e3f0 18:bd874ee5e5e2
   144 
   144 
   145 // -----------------------------------------------------------------------------
   145 // -----------------------------------------------------------------------------
   146 //
   146 //
   147 // -----------------------------------------------------------------------------
   147 // -----------------------------------------------------------------------------
   148 //
   148 //
   149 void RCPServerClient::ExecuteActionL( const CCPLiwMap& aMap )
   149 void RCPServerClient::ExecuteActionL( const CCPLiwMap& aMap, TUint aOptions )
   150     {
   150     {
   151     CP_DEBUG( _L8("RCPServerClient::ExecuteActionL()") );
   151     CP_DEBUG( _L8("RCPServerClient::ExecuteActionL()") );
   152     HBufC8 *inbuf = aMap.PackForServerLC( );
   152     HBufC8 *inbuf = aMap.PackForServerLC( );
   153     TIpcArgs args;
   153     TIpcArgs args;
   154     args.Set( KDescriptorPosition, &*inbuf );
   154     args.Set( KDescriptorPosition, &*inbuf );
       
   155     args.Set( KOptionsPosition, static_cast<TInt>( aOptions ) );
   155     User::LeaveIfError( SendReceive( ECpServerExecuteAction, args ) );
   156     User::LeaveIfError( SendReceive( ECpServerExecuteAction, args ) );
   156     CleanupStack::PopAndDestroy( inbuf );
   157     CleanupStack::PopAndDestroy( inbuf );
   157     }
   158     }
   158 
   159 
   159 // -----------------------------------------------------------------------------
   160 // -----------------------------------------------------------------------------