455 TestSlotAvailableL(); |
455 TestSlotAvailableL(); |
456 SendEntryDataL(aOperationId, aEntry); |
456 SendEntryDataL(aOperationId, aEntry); |
457 User::LeaveIfError(SendReceive(EMsvChangeEntry, TIpcArgs(aOperationId, aOwnerId))); |
457 User::LeaveIfError(SendReceive(EMsvChangeEntry, TIpcArgs(aOperationId, aOwnerId))); |
458 } |
458 } |
459 |
459 |
460 /** |
|
461 Update the specified Changes to selection of TMsvId (asynchronously). |
|
462 |
|
463 @param aSelection The IDs of the entry to Change. |
|
464 @param aMark The read/Unread value. |
|
465 @param aOperationId Operation identifier |
|
466 @param aOwnerId The ID of the owning process |
|
467 @param aRequestStatus Asynchronous request status |
|
468 |
|
469 */ |
|
470 |
|
471 void RMsvServerSession::ChangeEntriesL(const CMsvEntrySelection& aSelection, TBool aMark ,TMsvOp aOperationId, TSecureId aOwnerId, TRequestStatus& aRequestStatus) |
|
472 { |
|
473 TestSlotAvailableL(); |
|
474 TInt markvalue = (TInt)aMark; |
|
475 SendOperationDataL(aOperationId, aSelection, markvalue); |
|
476 aRequestStatus=KRequestPending; |
|
477 SendReceive(EMsvChangeEntries, TIpcArgs(aOperationId, aOwnerId), aRequestStatus); |
|
478 } |
|
479 |
460 |
480 /** |
461 /** |
481 Gets the index entry with the specified unique id. |
462 Gets the index entry with the specified unique id. |
482 @param aId ID of the entry to get |
463 @param aId ID of the entry to get |
483 @param aService On return, the ID of the service to which the entry belongs |
464 @param aService On return, the ID of the service to which the entry belongs |