Better. Stronger. Faster. 2003-07-26 Gary R. Van Sickle <[EMAIL PROTECTED]>
* dialog.h (next_dialog): Remove global variable, obsolete.
(do_fromcwd): Change function declaration.
(NEXT): Remove obsolete macro.
* download.cc (do_download_thread): Add next_dialog as return
parameter (return by reference).
(do_download_reflector): Call do_download_thread() with third
parameter. Call Progress.PostMessage() with returned value.
(context): Change to struct.
(do_download): Change declaration and initialization of context.
Initialize new context member.
* fromcwd.cc (do_fromcwd): Change return type to bool. Eliminate
use of next_dialog, return true or false instead.
* ini.cc (do_ini_thread): Add next_dialog as return parameter
(return by reference).
(do_ini_thread_reflector): Call do_ini_thread() with third parameter.
Call Progress.PostMessage() with returned value.
(context): Change to struct.
(do_ini): Change declaration and initialization of context.
Initialize new context member.
* localdir.cc (LocalDirPage::OnNext): Use do_fromcwd()'s return
value instead of next_dialog.
* main.cc (next_dialog): Remove obsolete global variable.
--
Gary R. Van Sickle
Brewer. Patriot.
next.diff
Description: Binary data
2003-07-26 Gary R. Van Sickle <[EMAIL PROTECTED]>
* dialog.h (next_dialog): Remove global variable, obsolete.
(do_fromcwd): Change function declaration.
(NEXT): Remove obsolete macro.
* download.cc (do_download_thread): Add next_dialog as return
parameter (return by reference).
(do_download_reflector): Call do_download_thread() with third
parameter. Call Progress.PostMessage() with returned value.
(context): Change to struct.
(do_download): Change declaration and initialization of context.
Initialize new context member.
* fromcwd.cc (do_fromcwd): Change return type to bool. Eliminate
use of next_dialog, return true or false instead.
* ini.cc (do_ini_thread): Add next_dialog as return parameter
(return by reference).
(do_ini_thread_reflector): Call do_ini_thread() with third parameter.
Call Progress.PostMessage() with returned value.
(context): Change to struct.
(do_ini): Change declaration and initialization of context.
Initialize new context member.
* localdir.cc (LocalDirPage::OnNext): Use do_fromcwd()'s return
value instead of next_dialog.
* main.cc (next_dialog): Remove obsolete global variable.
