equal
deleted
inserted
replaced
635 TIpcArgs args(aScriptID, (TInt)aPermGrant, (TInt)aPermDenied); |
635 TIpcArgs args(aScriptID, (TInt)aPermGrant, (TInt)aPermDenied); |
636 return SendReceive (EUpdatePermanentGrant, args); |
636 return SendReceive (EUpdatePermanentGrant, args); |
637 } |
637 } |
638 |
638 |
639 // |
639 // |
|
640 //Updates the blanket permission data of the script |
|
641 // |
|
642 TInt RSecMgrSubSession::UpdatePermGrant(TExecutableID aScriptID, |
|
643 RProviderArray aAllowedProviders, RProviderArray aDeniedProviders) const |
|
644 { |
|
645 CRTPermGrantMessage* msg = CRTPermGrantMessage::NewL(aAllowedProviders , aDeniedProviders , aScriptID); |
|
646 HBufC8* buffer = msg->PackMessageL(); |
|
647 TIpcArgs args(buffer); |
|
648 TInt ret = SendReceive (EUpdatePermanentGrantProvider, args); |
|
649 delete buffer; |
|
650 delete msg; |
|
651 return ret; |
|
652 } |
|
653 // |
640 // Close the subsession. |
654 // Close the subsession. |
641 // |
655 // |
642 void RSecMgrSubSession::Close() |
656 void RSecMgrSubSession::Close() |
643 { |
657 { |
644 iFs.Close(); |
658 iFs.Close(); |