mirror of
https://github.com/reactos/reactos.git
synced 2025-06-12 04:08:28 +00:00
[RAPPS] Replace pointer array with object array in parts related to app DL.
This commit is contained in:
parent
11baa0d723
commit
c9aa1915df
6 changed files with 13 additions and 17 deletions
|
@ -830,20 +830,15 @@ end:
|
|||
return 0;
|
||||
}
|
||||
|
||||
BOOL CDownloadManager::DownloadListOfApplications(const ATL::CSimpleArray<CAvailableApplicationInfo*>& AppsList, BOOL bIsModal)
|
||||
BOOL CDownloadManager::DownloadListOfApplications(const ATL::CSimpleArray<CAvailableApplicationInfo>& AppsList, BOOL bIsModal)
|
||||
{
|
||||
if (AppsList.GetSize() == 0)
|
||||
{
|
||||
return FALSE;
|
||||
}
|
||||
|
||||
// Initialize shared variables
|
||||
for (INT i = 0; i < AppsList.GetSize(); ++i)
|
||||
{
|
||||
if (AppsList[i])
|
||||
{
|
||||
AppsToInstallList.Add(*(AppsList[i]));
|
||||
}
|
||||
AppsToInstallList.Add(AppsList[i]); // implicit conversion to DownloadInfo
|
||||
}
|
||||
|
||||
// Create a dialog and issue a download process
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue