equal
deleted
inserted
replaced
1 /* |
1 /* |
2 * Copyright (c) 2005-2009 Nokia Corporation and/or its subsidiary(-ies). |
2 * Copyright (c) 2005-2010 Nokia Corporation and/or its subsidiary(-ies). |
3 * All rights reserved. |
3 * All rights reserved. |
4 * This component and the accompanying materials are made available |
4 * This component and the accompanying materials are made available |
5 * under the terms of "Eclipse Public License v1.0" |
5 * under the terms of "Eclipse Public License v1.0" |
6 * which accompanies this distribution, and is available |
6 * which accompanies this distribution, and is available |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
7 * at the URL "http://www.eclipse.org/legal/epl-v10.html". |
463 // And command |
463 // And command |
464 TCommand command; |
464 TCommand command; |
465 command.iCommandId = aCommandId; |
465 command.iCommandId = aCommandId; |
466 command.iVersion = aVersion; |
466 command.iVersion = aVersion; |
467 //Time out is initiatilized to 0 as its not used on the server side. |
467 //Time out is initiatilized to 0 as its not used on the server side. |
468 //this is just to compress the tool warnings. |
468 //this is just to supress the tool warnings. |
469 command.iTimeout = 0; |
469 command.iTimeout = 0; |
470 TCommandBuffer commandBuffer( command ); |
470 TCommandBuffer commandBuffer( command ); |
471 |
471 |
472 // Send the command |
472 // Send the command |
473 return SendReceive( EIssueCommand, |
473 return SendReceive( EIssueCommand, |
502 TMediatorCategoryBuffer categoryBuffer( category ); |
502 TMediatorCategoryBuffer categoryBuffer( category ); |
503 |
503 |
504 // And command |
504 // And command |
505 TCommand command; |
505 TCommand command; |
506 command.iCommandId = aCommandId; |
506 command.iCommandId = aCommandId; |
|
507 //All the remaining parameters of TCommand are initiatilized to 0 as its not used on the server side. |
|
508 //this is just to suppress the tool warnings. |
|
509 command.iVersion = TVersion(0,0,0); |
|
510 command.iCaps.SetEmpty(); |
|
511 command.iTimeout = 0; |
|
512 |
507 TCommandBuffer commandBuffer( command ); |
513 TCommandBuffer commandBuffer( command ); |
508 |
514 |
509 // Status |
515 // Status |
510 TPckgBuf<TInt> statusBuffer( aStatus ); |
516 TPckgBuf<TInt> statusBuffer( aStatus ); |
511 |
517 |
540 TMediatorCategoryBuffer categoryBuffer( category ); |
546 TMediatorCategoryBuffer categoryBuffer( category ); |
541 |
547 |
542 // And command |
548 // And command |
543 TCommand command; |
549 TCommand command; |
544 command.iCommandId = aCommandId; |
550 command.iCommandId = aCommandId; |
|
551 //All the remaining parameters of TCommand are initiatilized to 0 as its not used on the server side. |
|
552 //this is just to suppress the tool warnings. |
|
553 command.iVersion = TVersion(0,0,0); |
|
554 command.iCaps.SetEmpty(); |
|
555 command.iTimeout = 0; |
|
556 |
545 TCommandBuffer commandBuffer( command ); |
557 TCommandBuffer commandBuffer( command ); |
546 |
558 |
547 // Send the command |
559 // Send the command |
548 return SendReceive( ECancelCommand, |
560 return SendReceive( ECancelCommand, |
549 TIpcArgs( &categoryBuffer, |
561 TIpcArgs( &categoryBuffer, |