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
+7 -1
View File
@@ -17,6 +17,7 @@
#include <gui/welcome_window.hpp>
#include <gui/update_checker.hpp>
#include <gui/images_export_window.hpp>
#include <gui/packages_window.hpp>
#include <gui/set/window.hpp>
#include <gui/symbol/window.hpp>
#include <gui/thumbnail_thread.hpp>
@@ -108,8 +109,13 @@ int MSE::OnRun() {
parse_enum(String(argv[2]).substr(2), type);
}
}
//%%% Installer::installFrom(argv[1], true, isInstallLocal(type));
InstallerP installer = open_package<Installer>(argv[1]);
PackagesWindow wnd(nullptr, installer);
wnd.ShowModal();
//return wxApp::OnRun();
return EXIT_SUCCESS;
//%%% Installer::installFrom(argv[1], true, isInstallLocal(type));
//%%% return EXIT_SUCCESS;
} else if (arg == _("--symbol-editor")) {
Window* wnd = new SymbolWindow(nullptr);
wnd->Show();