rtsecuritymanager/rtsecuritymanagerserver/src/rtsecmgrscriptmanager.cpp
changeset 10 a7062f7f0b79
parent 0 99ef825efeca
equal deleted inserted replaced
5:947415ec7603 10:a7062f7f0b79
   202 			iSecMgrDB->WriteScriptInfoL(aExecID,*iScripts[i]);			
   202 			iSecMgrDB->WriteScriptInfoL(aExecID,*iScripts[i]);			
   203 			return;
   203 			return;
   204 		}	
   204 		}	
   205 	}
   205 	}
   206 }
   206 }
       
   207 
       
   208 void CScriptManager::UpdatePermGrantL(TExecutableID aExecID,RProviderArray aAllowedProviders,
       
   209                                         RProviderArray aDeniedProviders)
       
   210 {   
       
   211     for(TInt i(0);i!=iScripts.Count();++i)
       
   212     {
       
   213     if(iScripts[i]->ScriptID()==aExecID)
       
   214         {
       
   215             iScripts[i]->SetPermGranted(aAllowedProviders);
       
   216             iScripts[i]->SetPermDenied(aDeniedProviders);
       
   217             iSecMgrDB->WriteScriptInfoL(aExecID,*iScripts[i]);          
       
   218             return;
       
   219         }   
       
   220     }
       
   221 }