browserutilities/downloadmgr/DownloadMgrUiLib/Src/CDownloadsListArray.cpp
changeset 5 10e98eab6f85
parent 1 7c90e6132015
child 25 0ed94ceaa377
equal deleted inserted replaced
1:7c90e6132015 5:10e98eab6f85
   107     CLOG_WRITE(" iCompletedString OK");
   107     CLOG_WRITE(" iCompletedString OK");
   108     iSavedToGalleryString = iCoeEnv.AllocReadResourceL( R_DMUL_DOWNLOAD_CONTENT_SAVED_TO_GALLERY );
   108     iSavedToGalleryString = iCoeEnv.AllocReadResourceL( R_DMUL_DOWNLOAD_CONTENT_SAVED_TO_GALLERY );
   109     CLOG_WRITE(" iSavedToGalleryString OK");
   109     CLOG_WRITE(" iSavedToGalleryString OK");
   110 	iSavedToDownloadsFolderString=  iCoeEnv.AllocReadResourceL( R_DMUL_DOWNLOAD_CONTENT_SAVED_TO_DOWNLOADS_FOLDER);
   110 	iSavedToDownloadsFolderString=  iCoeEnv.AllocReadResourceL( R_DMUL_DOWNLOAD_CONTENT_SAVED_TO_DOWNLOADS_FOLDER);
   111 	CLOG_WRITE(" iSavedToGalleryDownload OK");
   111 	CLOG_WRITE(" iSavedToGalleryDownload OK");
   112 	iFileSavedString = iCoeEnv.AllocReadResourceL( R_DMUL_DOWNLOAD_FILE_SAVED );
   112 	
   113 	iFilesSavedString = iCoeEnv.AllocReadResourceL( R_DMUL_DOWNLOAD_FILES_SAVED );
   113 	#ifndef BRDO_APP_GALLERY_SUPPORTED_FF
       
   114 	    iFileSavedString = iCoeEnv.AllocReadResourceL( R_DMUL_DOWNLOAD_FILE_SAVED );
       
   115 	    iFilesSavedString = iCoeEnv.AllocReadResourceL( R_DMUL_DOWNLOAD_FILES_SAVED );
       
   116 	#endif
   114 
   117 
   115 	
   118 	
   116     iNullDesC = KNullDesC().AllocL();
   119     iNullDesC = KNullDesC().AllocL();
   117     CLOG_WRITE(" iNullDesC OK");
   120     CLOG_WRITE(" iNullDesC OK");
   118     User::LeaveIfError( iApaLsSess.Connect() );
   121     User::LeaveIfError( iApaLsSess.Connect() );
   186     iCompletedString = 0;
   189     iCompletedString = 0;
   187 	delete iSavedToGalleryString;
   190 	delete iSavedToGalleryString;
   188 	iSavedToGalleryString = 0;
   191 	iSavedToGalleryString = 0;
   189 	delete iSavedToDownloadsFolderString;
   192 	delete iSavedToDownloadsFolderString;
   190 	iSavedToDownloadsFolderString=0;
   193 	iSavedToDownloadsFolderString=0;
   191 	delete iFileSavedString;
   194 	
   192 	iFileSavedString = 0;
   195 	#ifndef BRDO_APP_GALLERY_SUPPORTED_FF
   193 	delete iFilesSavedString;
   196 	    delete iFileSavedString;
   194 	iFilesSavedString = 0;
   197 	    iFileSavedString = 0;
       
   198 	    delete iFilesSavedString;
       
   199 	    iFilesSavedString = 0;
       
   200 	#endif
       
   201 	
   195     delete iNullDesC;
   202     delete iNullDesC;
   196     iNullDesC = 0;
   203     iNullDesC = 0;
   197     iApaLsSess.Close();
   204     iApaLsSess.Close();
   198     CLOG_WRITE(" iApaLsSess.Close");
   205     CLOG_WRITE(" iApaLsSess.Close");
   199     delete iMbmResourceFileName;
   206     delete iMbmResourceFileName;