--- AE/Installer/trunk/source/installer.cpp 2010/04/24 19:19:52 510 +++ AE/Installer/trunk/source/installer.cpp 2010/04/28 10:40:52 516 @@ -27,6 +27,7 @@ using namespace boost::posix_time; // externs declared in installer.h string strInstallCfg = "../GameDataFolder/Add.cfg"; string strEUFN = "Edition"; // GetUpdateStatus() may set this to "Edition-patch" later, but this is the assumed name of the new Edition folder in Updates/ +extern MainWindow* TheWindow; int globalizeData(void) { @@ -975,8 +976,6 @@ int GetUpdateStatus(Install_info_cfg *cu ModPackage installedPackage, updatePackage; if (is_directory(install_iter->path()) && exists(install_iter->path().string() + "/Mod_Info.cfg")) { - string blah =install_iter->path().string() + "/Mod_Info.cfg"; - string blah2 = "packages/" + install_iter->path().filename() + "/Mod_Info.cfg"; fstream file; file.open((install_iter->path().string() + "/Mod_Info.cfg").c_str()); if (!file.fail()) @@ -1488,12 +1487,11 @@ bool ProcessAEUpdate(Install_info_cfg *c CheckForGlobalization(true); // the 'true' value forces re-globalization globalPackages = getPackages(); // refresh the list in memory - // TODO: Refresh the packages list in the window wxCommandEvent e; TheWindow->OnRefreshButtonClick( e ); return true; } -extern MainWindow* TheWindow; + void ProcessPackageUpdates(string pathToUpdate, string strPathToPackages) { ptime startTime(second_clock::local_time());