ReactOS 0.4.16-dev-852-gcfcc8d8
DownloadInfo Struct Reference
Collaboration diagram for DownloadInfo:

Public Member Functions

 DownloadInfo ()
 
 DownloadInfo (const CAppInfo &AppInfo)
 
bool Equal (const DownloadInfo &other) const
 

Public Attributes

DownloadType DLType
 
InstallerType IType
 
CStringW szUrl
 
CStringW szName
 
CStringW szSHA1
 
CStringW szPackageName
 
CStringW szFileName
 
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:84
@ DLTYPE_APPLICATION
Definition: loaddlg.cpp:75
DownloadType DLType
Definition: loaddlg.cpp:157
ULONG SizeInBytes
Definition: loaddlg.cpp:164
InstallerType IType
Definition: loaddlg.cpp:158

◆ DownloadInfo() [2/2]

DownloadInfo::DownloadInfo ( const CAppInfo AppInfo)
inline

Definition at line 140 of file loaddlg.cpp.

141 {
143 szName = AppInfo.szDisplayName;
144 IType = AppInfo.GetInstallerType();
145 szPackageName = AppInfo.szIdentifier;
146
147 CConfigParser *cfg = static_cast<const CAvailableApplicationInfo&>(AppInfo).GetConfigParser();
148 if (cfg)
150 }
#define DB_SAVEAS
Definition: appinfo.h:94
virtual VOID GetDownloadInfo(CStringW &Url, CStringW &Sha1, ULONG &SizeInBytes) const =0
virtual InstallerType GetInstallerType() const
Definition: appinfo.h:131
CStringW szDisplayName
Definition: appinfo.h:112
const CStringW szIdentifier
Definition: appinfo.h:108
BOOL GetString(const CStringW &KeyName, CStringW &ResultString)
CStringW szName
Definition: loaddlg.cpp:160
CStringW szPackageName
Definition: loaddlg.cpp:162
CStringW szUrl
Definition: loaddlg.cpp:159
CStringW szSHA1
Definition: loaddlg.cpp:161
CStringW szFileName
Definition: loaddlg.cpp:163

Member Function Documentation

◆ Equal()

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

Definition at line 152 of file loaddlg.cpp.

153 {
154 return DLType == other.DLType && !lstrcmpW(szUrl, other.szUrl);
155 }
int WINAPI lstrcmpW(LPCWSTR str1, LPCWSTR str2)
Definition: locale.c:4243
int other
Definition: msacm.c:1376

Member Data Documentation

◆ DLType

DownloadType DownloadInfo::DLType

Definition at line 157 of file loaddlg.cpp.

Referenced by DownloadApplicationsDB(), and Equal().

◆ IType

InstallerType DownloadInfo::IType

Definition at line 158 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ SizeInBytes

ULONG DownloadInfo::SizeInBytes

Definition at line 164 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ szFileName

CStringW DownloadInfo::szFileName

Definition at line 163 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ szName

CStringW DownloadInfo::szName

Definition at line 160 of file loaddlg.cpp.

Referenced by DownloadApplicationsDB(), and DownloadInfo().

◆ szPackageName

CStringW DownloadInfo::szPackageName

Definition at line 162 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ szSHA1

CStringW DownloadInfo::szSHA1

Definition at line 161 of file loaddlg.cpp.

Referenced by DownloadInfo().

◆ szUrl

CStringW DownloadInfo::szUrl

Definition at line 159 of file loaddlg.cpp.

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


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