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

Comparing AE/Installer/trunk/source/aeinstallerapp.cpp (file contents):
Revision 356 by gumby, Thu Jun 18 22:30:46 2009 UTC vs.
Revision 360 by gumby, Fri Jun 19 22:46:22 2009 UTC

# Line 8 | Line 8
8   // Copyright:  
9   // Licence:    
10   /////////////////////////////////////////////////////////////////////////////
11 + #include "boost/thread.hpp"
12 + #include <boost/thread/mutex.hpp>
13  
14   #include "boost/filesystem.hpp" // includes all needed Boost.Filesystem declarations
15   #include "boost/lexical_cast.hpp" //int -> string
# Line 116 | Line 118 | bool AEInstallerApp::OnInit()
118                          TheWindow->Close();
119                  }
120                  else {
121 <                        //globalize...
121 >                        TheWindow->InstallButton->Disable();
122 >                TheWindow->ReglobalizeButton->Disable();
123 >
124 > #ifdef WIN32
125 >
126 >                boost::thread thrd3(globalizeData);
127 >                //globalizeData();
128 >                //boost::thread::create_thread(&globalizeData);
129 >                //       boost::thread_group Tg;
130 >                // Tg.create_thread( &globalizeData(), this );
131 > #else
132 >                globalizeData();
133 > #endif
134 >                
135 >                TheWindow->InstallButton->Enable();
136 >                TheWindow->ReglobalizeButton->Enable();
137                  }
138          }
139  

Diff Legend

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