Added update checker

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@88 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2006-11-22 21:05:26 +00:00
parent e2544e9d53
commit a2c509180a
6 changed files with 183 additions and 3 deletions
+5
View File
@@ -13,8 +13,10 @@
#include <data/settings.hpp>
#include <data/format/formats.hpp>
#include <gui/welcome_window.hpp>
#include <gui/update_checker.hpp>
#include <gui/set/window.hpp>
#include <gui/symbol/window.hpp>
#include <wx/fs_inet.h>
// ----------------------------------------------------------------------------- : Main function/class
@@ -39,9 +41,12 @@ bool MSE::OnInit() {
try {
SetAppName(_("Magic Set Editor"));
wxInitAllImageHandlers();
wxFileSystem::AddHandler(new wxInternetFSHandler); // needed for update checker
init_file_formats();
packages.init();
settings.read();
// check for updates
check_updates();
//Window* wnd = new SymbolWindow(nullptr);
//GameP g = Game::byName(_("magic"))
SetP s = new_shared<Set>();