equal
deleted
inserted
replaced
178 UpnpContentServer::TUpnpMediaType aType, |
178 UpnpContentServer::TUpnpMediaType aType, |
179 TRequestStatus& aStatus ) |
179 TRequestStatus& aStatus ) |
180 { |
180 { |
181 __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ ); |
181 __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ ); |
182 |
182 |
183 delete iSendBuffer; |
183 /* delete iSendBuffer; |
184 iSendBuffer = NULL; |
184 iSendBuffer = NULL; |
185 iSendBuffer = CBufFlat::NewL( KTintSize ); |
185 iSendBuffer = CBufFlat::NewL( KTintSize ); |
186 |
186 |
187 // Need to externalize a data to buffer to send it with IPC |
187 // Need to externalize a data to buffer to send it with IPC |
188 RBufWriteStream sendstream; |
188 RBufWriteStream sendstream; |
198 iContentBufferPtr.Set( iContentBuffer->Des() ); |
198 iContentBufferPtr.Set( iContentBuffer->Des() ); |
199 |
199 |
200 SendReceive( ERequestSelectionContent, |
200 SendReceive( ERequestSelectionContent, |
201 TIpcArgs( &iSendBufferPtr, &iContentBufferPtr ), |
201 TIpcArgs( &iSendBufferPtr, &iContentBufferPtr ), |
202 aStatus ); |
202 aStatus ); |
203 CleanupStack::PopAndDestroy( &sendstream ); |
203 CleanupStack::PopAndDestroy( &sendstream );*/ |
204 |
204 |
205 __LOG8_1( "%s end.", __PRETTY_FUNCTION__ ); |
205 __LOG8_1( "%s end.", __PRETTY_FUNCTION__ ); |
206 } |
206 } |
207 |
207 |
208 // -------------------------------------------------------------------------- |
208 // -------------------------------------------------------------------------- |
296 UpnpContentServer::TUpnpMediaType aType, |
296 UpnpContentServer::TUpnpMediaType aType, |
297 TRequestStatus& aStatus ) |
297 TRequestStatus& aStatus ) |
298 { |
298 { |
299 __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ ); |
299 __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ ); |
300 |
300 |
301 delete iSendBuffer; |
301 /* delete iSendBuffer; |
302 iSendBuffer = NULL; |
302 iSendBuffer = NULL; |
303 iSendBuffer = CBufFlat::NewL( KTintSize ); |
303 iSendBuffer = CBufFlat::NewL( KTintSize ); |
304 |
304 |
305 // Need to externalize a data to buffer to send it with IPC |
305 // Need to externalize a data to buffer to send it with IPC |
306 RBufWriteStream stream; |
306 RBufWriteStream stream; |
310 iSendBufferPtr.Set( iSendBuffer->Ptr(0) ); |
310 iSendBufferPtr.Set( iSendBuffer->Ptr(0) ); |
311 |
311 |
312 SendReceive( ERefreshShareContent, |
312 SendReceive( ERefreshShareContent, |
313 TIpcArgs( &iSendBufferPtr ), |
313 TIpcArgs( &iSendBufferPtr ), |
314 aStatus ); |
314 aStatus ); |
315 CleanupStack::PopAndDestroy( &stream ); |
315 CleanupStack::PopAndDestroy( &stream );*/ |
316 |
316 |
317 __LOG8_1( "%s end.", __PRETTY_FUNCTION__ ); |
317 __LOG8_1( "%s end.", __PRETTY_FUNCTION__ ); |
318 } |
318 } |
319 |
319 |
320 // -------------------------------------------------------------------------- |
320 // -------------------------------------------------------------------------- |
326 UpnpContentServer::TUpnpMediaType aType, |
326 UpnpContentServer::TUpnpMediaType aType, |
327 TRequestStatus& aStatus ) |
327 TRequestStatus& aStatus ) |
328 { |
328 { |
329 __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ ); |
329 __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ ); |
330 |
330 |
331 delete iSendBuffer; |
331 /* delete iSendBuffer; |
332 iSendBuffer = NULL; |
332 iSendBuffer = NULL; |
333 iSendBuffer = CBufFlat::NewL( KTintSize ); |
333 iSendBuffer = CBufFlat::NewL( KTintSize ); |
334 |
334 |
335 // Need to externalize a data to buffer to send it with IPC |
335 // Need to externalize a data to buffer to send it with IPC |
336 RBufWriteStream sendstream; |
336 RBufWriteStream sendstream; |
343 PrepareReceiveBuffersL( KDefaultBufferSize ); |
343 PrepareReceiveBuffersL( KDefaultBufferSize ); |
344 |
344 |
345 SendReceive( EGetSelectionIndexes, |
345 SendReceive( EGetSelectionIndexes, |
346 TIpcArgs( &iSendBufferPtr, &iReceiveBufferPtr ), |
346 TIpcArgs( &iSendBufferPtr, &iReceiveBufferPtr ), |
347 aStatus ); |
347 aStatus ); |
348 CleanupStack::PopAndDestroy( &sendstream ); |
348 CleanupStack::PopAndDestroy( &sendstream );*/ |
349 |
349 |
350 __LOG8_1( "%s end.", __PRETTY_FUNCTION__ ); |
350 __LOG8_1( "%s end.", __PRETTY_FUNCTION__ ); |
351 } |
351 } |
352 |
352 |
353 // -------------------------------------------------------------------------- |
353 // -------------------------------------------------------------------------- |
395 TInt aIapId, |
395 TInt aIapId, |
396 TRequestStatus& aStatus ) |
396 TRequestStatus& aStatus ) |
397 { |
397 { |
398 __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ ); |
398 __LOG8_1( "%s begin.", __PRETTY_FUNCTION__ ); |
399 |
399 |
400 delete iSendBuffer; |
400 /* delete iSendBuffer; |
401 iSendBuffer = NULL; |
401 iSendBuffer = NULL; |
402 iSendBuffer = CBufFlat::NewL( KTintSize ); |
402 iSendBuffer = CBufFlat::NewL( KTintSize ); |
403 |
403 |
404 // Need to externalize a data to buffer to send it with IPC |
404 // Need to externalize a data to buffer to send it with IPC |
405 RBufWriteStream sendstream; |
405 RBufWriteStream sendstream; |
409 iSendBufferPtr.Set( iSendBuffer->Ptr(0) ); |
409 iSendBufferPtr.Set( iSendBuffer->Ptr(0) ); |
410 |
410 |
411 SendReceive( EStartConnectionMonitor, |
411 SendReceive( EStartConnectionMonitor, |
412 TIpcArgs( &iSendBufferPtr ), |
412 TIpcArgs( &iSendBufferPtr ), |
413 aStatus ); |
413 aStatus ); |
414 CleanupStack::PopAndDestroy( &sendstream ); |
414 CleanupStack::PopAndDestroy( &sendstream );*/ |
415 |
415 |
416 __LOG8_1( "%s end.", __PRETTY_FUNCTION__ ); |
416 __LOG8_1( "%s end.", __PRETTY_FUNCTION__ ); |
417 } |
417 } |
418 |
418 |
419 // -------------------------------------------------------------------------- |
419 // -------------------------------------------------------------------------- |