kernel/eka/drivers/hcr/hcr_pil.cpp
changeset 271 dc268b18d709
parent 39 5d2844f35677
child 291 206a6eaaeb71
equal deleted inserted replaced
269:d57b86b1867a 271:dc268b18d709
   522     //continue with multiple searach and it should be limited by internal 
   522     //continue with multiple searach and it should be limited by internal 
   523     //invocation of FindSettingWithType.
   523     //invocation of FindSettingWithType.
   524     if(aNum == 1)
   524     if(aNum == 1)
   525         {
   525         {
   526         TSettingRef sref(0,0);
   526         TSettingRef sref(0,0);
       
   527 		TSettingType types[1];
   527         TSettingType* pTypes;
   528         TSettingType* pTypes;
   528                 
   529                 
   529         //aTypes array is optional and user may not provided it for us. So we
   530         //aTypes array is optional and user may not provided it for us. So we
   530         //need to be sure it's not a null pointer
   531         //need to be sure it's not a null pointer
   531         if(aTypes == NULL)
   532         if(aTypes == NULL)
   532             {
   533             {
   533             //If this is a null pointer then just create our own element and 
   534             //If this is a null pointer then just create our own element and 
   534             //assign it to the pTypes pointer
   535             //assign it to the pTypes pointer
   535             TSettingType types[1];
       
   536             pTypes = types;
   536             pTypes = types;
   537             }
   537             }
   538         else
   538         else
   539             {
   539             {
   540             //else we use the user supplied array
   540             //else we use the user supplied array