appfw/apparchitecture/aplist/aplapplist.cpp
changeset 46 eea20ed08f4b
parent 29 6a787171e1de
child 81 676b6116ca93
equal deleted inserted replaced
40:951aeeb3da43 46:eea20ed08f4b
   828  * starts updating the list asynchronously, by calling StartIdleUpdateL().
   828  * starts updating the list asynchronously, by calling StartIdleUpdateL().
   829 
   829 
   830 @param aObserver Observer to be notified when the update has finished. */
   830 @param aObserver Observer to be notified when the update has finished. */
   831 	{
   831 	{
   832     
   832     
   833 #if _DEBUG    
   833 #ifdef APPARC_SHOW_TRACE    
   834     RDebug::Printf("[Apparc] *****************START CREATING APPLIST ****************************");
   834     RDebug::Printf("[Apparc] *****************START CREATING APPLIST ****************************");
   835 #endif    
   835 #endif    
   836     
   836     
   837 	DeleteAppsListBackUpAndTempFiles();
   837 	DeleteAppsListBackUpAndTempFiles();
   838 	
   838 	
  1223             {
  1223             {
  1224             //If the application position is first in the list
  1224             //If the application position is first in the list
  1225             iAppData=appData->iNext;
  1225             iAppData=appData->iNext;
  1226             }
  1226             }
  1227 
  1227 
  1228 #if _DEBUG  
  1228 #ifdef APPARC_SHOW_TRACE  
  1229         if(appData)
  1229         if(appData)
  1230             {
  1230             {
  1231             RDebug::Print(_L("[Apparc] Application with UID: %X is deleted from applist"), appData->iUidType[2]);
  1231             RDebug::Print(_L("[Apparc] Application with UID: %X is deleted from applist"), appData->iUidType[2]);
  1232             }
  1232             }
  1233 #endif
  1233 #endif
  1545 	{
  1545 	{
  1546 	__ASSERT_DEBUG(aAppData, Panic(EPanicNullPointer));
  1546 	__ASSERT_DEBUG(aAppData, Panic(EPanicNullPointer));
  1547 	aAppData->iNext=iAppData;
  1547 	aAppData->iNext=iAppData;
  1548 	iAppData=aAppData;
  1548 	iAppData=aAppData;
  1549 	
  1549 	
  1550 #if _DEBUG	
  1550 #ifdef APPARC_SHOW_TRACE	
  1551     RDebug::Print(_L("[Apparc] Application with UID: %X is added to applist"), aAppData->iUidType[2]);
  1551     RDebug::Print(_L("[Apparc] Application with UID: %X is added to applist"), aAppData->iUidType[2]);
  1552 #endif
  1552 #endif
  1553     
  1553     
  1554 	}
  1554 	}
  1555 
  1555 
  1807 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK	
  1807 #ifdef SYMBIAN_UNIVERSAL_INSTALL_FRAMEWORK	
  1808 	delete iScrAppInfo;
  1808 	delete iScrAppInfo;
  1809 	iScrAppInfo=NULL;
  1809 	iScrAppInfo=NULL;
  1810     iScr.Close();
  1810     iScr.Close();
  1811 #endif
  1811 #endif
  1812 #if _DEBUG    
  1812 #ifdef APPARC_SHOW_TRACE    
  1813     RDebug::Printf("[Apparc] *****************END CREATING APPLIST ****************************");
  1813     RDebug::Printf("[Apparc] *****************END CREATING APPLIST ****************************");
  1814 #endif    
  1814 #endif    
  1815 	}
  1815 	}
  1816 
  1816 
  1817 /**
  1817 /**