ReactOS 0.4.16-dev-1946-g52006dd
DownloadInfo Struct Reference
Collaboration diagram for DownloadInfo:

Public Member Functions

 DownloadInfo ()
 
 DownloadInfo (const CAppInfo &AppInfo, UINT DAF=0)
 
bool Equal (const DownloadInfo &other) const
 

Public Attributes

DownloadType DLType
 
InstallerType IType
 
InstallerType IExecType = INSTALLER_UNKNOWN
 
UINT Flags = 0
 
CStringW szUrl
 
CStringW szName
 
CStringW szSHA1
 
CStringW szPackageName
 
CStringW szFileName
 
CStringW szSilentInstallArgs
 
ULONG SizeInBytes
 

Detailed Description

Definition at line 135 of file loaddlg.cpp.

Constructor & Destructor Documentation

◆ DownloadInfo() [1/2]

DownloadInfo::DownloadInfo ( )
inline

Definition at line 137 of file loaddlg.cpp.

138 {
139 }
@ INSTALLER_UNKNOWN
Definition: appinfo.h:83
@ DLTYPE_APPLICATION
Definition: loaddlg.cpp:75
DownloadType DLType
Definition: loaddlg.cpp:160
ULONG SizeInBytes
Definition: loaddlg.cpp:170
InstallerType IType
Definition: loaddlg.cpp:161

◆ DownloadInfo() [2/2]

DownloadInfo::DownloadInfo ( const CAppInfo AppInfo,
UINT  DAF = 0 
)
inline

Definition at line 140 of file loaddlg.cpp.

141 {
143 szName = AppInfo.szDisplayName;
144 IType = AppInfo.GetInstallerType();
145 szPackageName = AppInfo.szIdentifier;
146
147 if (Flags & DAF_SILENT)
149
150 CConfigParser *cfg = static_cast<const CAvailableApplicationInfo&>(AppInfo).GetConfigParser();
151 if (cfg)
153 }
#define DB_SAVEAS
Definition: appinfo.h:99
virtual VOID GetDownloadInfo(CStringW &Url, CStringW &Sha1, ULONG &SizeInBytes) const =0
CStringW szDisplayName
Definition: appinfo.h:121
virtual InstallerType GetInstallerInfo(CStringW &SilentParameters) const
Definition: appinfo.h:142
virtual InstallerType GetInstallerType(bool NestedType=false) const
Definition: appinfo.h:140
const CStringW szIdentifier
Definition: appinfo.h:117
BOOL GetString(const CStringW &KeyName, CStringW &ResultString)
@ DAF_SILENT
Definition: dialogs.h:13
CStringW szName
Definition: loaddlg.cpp:165
CStringW szPackageName
Definition: loaddlg.cpp:167
CStringW szUrl
Definition: loaddlg.cpp:164
CStringW szSilentInstallArgs
Definition: loaddlg.cpp:169
CStringW szSHA1
Definition: loaddlg.cpp:166
InstallerType IExecType
Definition: loaddlg.cpp:162
CStringW szFileName
Definition: loaddlg.cpp:168
_Must_inspect_result_ _In_ ULONG Flags
Definition: wsk.h:170

Member Function Documentation

◆ Equal()

bool DownloadInfo::Equal ( const DownloadInfo other) const
inline

Definition at line 155 of file loaddlg.cpp.

156 {
157 return DLType == other.DLType && !lstrcmpW(szUrl, other.szUrl);
158 }
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
Definition: locale.c:4246
int other
Definition: msacm.c:1376

Member Data Documentation

◆ DLType

DownloadType DownloadInfo::DLType

Definition at line 160 of file loaddlg.cpp.

Referenced by DownloadApplicationsDB(), and Equal().

◆ Flags

UINT DownloadInfo::Flags = 0

Definition at line 163 of file loaddlg.cpp.

◆ IExecType

InstallerType DownloadInfo::IExecType = INSTALLER_UNKNOWN

Definition at line 162 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ IType

InstallerType DownloadInfo::IType

Definition at line 161 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ SizeInBytes

ULONG DownloadInfo::SizeInBytes

Definition at line 170 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ szFileName

CStringW DownloadInfo::szFileName

Definition at line 168 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ szName

CStringW DownloadInfo::szName

Definition at line 165 of file loaddlg.cpp.

Referenced by DownloadApplicationsDB(), and DownloadInfo().

◆ szPackageName

CStringW DownloadInfo::szPackageName

Definition at line 167 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ szSHA1

CStringW DownloadInfo::szSHA1

Definition at line 166 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ szSilentInstallArgs

CStringW DownloadInfo::szSilentInstallArgs

Definition at line 169 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ szUrl

CStringW DownloadInfo::szUrl

Definition at line 164 of file loaddlg.cpp.

Referenced by DownloadApplicationsDB(), DownloadInfo(), and Equal().


The documentation for this struct was generated from the following file: