| 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 |
| 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 |
> |
setProgressBar(1000); |
| 134 |
> |
setStatusArea("Done!"); |
| 135 |
> |
#endif |
| 136 |
> |
|
| 137 |
> |
TheWindow->InstallButton->Enable(); |
| 138 |
> |
TheWindow->ReglobalizeButton->Enable(); |
| 139 |
|
} |
| 140 |
|
} |
| 141 |
|
|