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; |