PackagesWindow can show just the packages from an installer.

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@905 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2008-05-31 14:36:23 +00:00
parent 9c18ed51e2
commit c8d8d72abc
10 changed files with 82 additions and 32 deletions
+6
View File
@@ -246,6 +246,12 @@ IMPLEMENT_REFLECTION_NO_SCRIPT(DownloadableInstaller) {
REFLECT(packages);
}
DownloadableInstaller::DownloadableInstaller(const InstallerP& installer)
: installer(installer)
, downloadable(false)
, packages(installer->packages)
{}
DownloadableInstaller::~DownloadableInstaller() {
if (!installer_file.empty()) {
wxRemoveFile(installer_file);