deviceupdatesui/deviceupdates/src/dminforetrieval.cpp
changeset 53 1273bf2c520c
parent 42 aa33c2cb9a50
equal deleted inserted replaced
42:aa33c2cb9a50 53:1273bf2c520c
   243                 {
   243                 {
   244                 defaultprofile = true;            
   244                 defaultprofile = true;            
   245                 }  
   245                 }  
   246            }
   246            }
   247     return defaultprofile;
   247     return defaultprofile;
       
   248     }
       
   249 
       
   250 bool DmInfo::isProfileDeleteAllowed(int profilelistnum)
       
   251     {
       
   252     bool deleteAllowed = false;
       
   253     if(profilelistnum >= 0 && iProfileList->Count() > 0)
       
   254         {        
       
   255         if(( iProfileList->At( profilelistnum ).iDeleteAllowed))
       
   256             {
       
   257         deleteAllowed = true;
       
   258             }                  
       
   259         }
       
   260     return deleteAllowed;
   248     }
   261     }
   249 
   262 
   250 void DmInfo::profileTransport(int profilelistnum, int& transport)
   263 void DmInfo::profileTransport(int profilelistnum, int& transport)
   251     {
   264     {
   252     if(profilelistnum >= 0 && profilelistnum < profilescount())
   265     if(profilelistnum >= 0 && profilelistnum < profilescount())