ViewVC Help
View File | Revision Log | View Changeset | Root Listing
root/Oni2/AE/Installer/trunk/source/installer.cpp
(Generate patch)

Comparing AE/Installer/trunk/source/installer.cpp (file contents):
Revision 509 by gumby, Sat Apr 24 19:19:14 2010 UTC vs.
Revision 516 by iritscen, Wed Apr 28 10:40:52 2010 UTC

# Line 27 | Line 27 | using namespace boost::posix_time;
27   // externs declared in installer.h
28   string strInstallCfg = "../GameDataFolder/Add.cfg";
29   string strEUFN = "Edition"; // GetUpdateStatus() may set this to "Edition-patch" later, but this is the assumed name of the new Edition folder in Updates/
30 + extern MainWindow* TheWindow;
31  
32   int globalizeData(void)
33   {
# Line 975 | Line 976 | int GetUpdateStatus(Install_info_cfg *cu
976                                  ModPackage installedPackage, updatePackage;
977                                  if (is_directory(install_iter->path()) && exists(install_iter->path().string() + "/Mod_Info.cfg"))
978                                  {
978                                        string blah =install_iter->path().string() + "/Mod_Info.cfg";
979                                        string blah2 = "packages/" + install_iter->path().filename() + "/Mod_Info.cfg";
979                                          fstream file;
980                                          file.open((install_iter->path().string() + "/Mod_Info.cfg").c_str());
981                                          if (!file.fail())
# Line 1488 | Line 1487 | bool ProcessAEUpdate(Install_info_cfg *c
1487                  CheckForGlobalization(true); // the 'true' value forces re-globalization
1488          
1489          globalPackages = getPackages(); // refresh the list in memory
1490 <        // TODO: Refresh the packages list in the window
1491 <
1490 >        wxCommandEvent e;
1491 >        TheWindow->OnRefreshButtonClick( e );
1492          return true;
1493   }
1494 < extern MainWindow* TheWindow;
1494 >
1495   void ProcessPackageUpdates(string pathToUpdate, string strPathToPackages)
1496   {
1497          ptime startTime(second_clock::local_time());

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)