Home » U++ Library support » U++ MT-multithreading and servers » downloading file progress bar
|
Re: downloading file progress bar [message #16880 is a reply to message #16873] |
Sat, 19 July 2008 09:41 |
|
mirek
Messages: 14039 Registered: November 2005
|
Ultimate Member |
|
|
String ExecuteRedirect(int max_redirect = DEFAULT_MAX_REDIRECT,
int retries = DEFAULT_RETRIES, Gate2<int, int> progress = false);
The last parameter, 'progress', defines a callback that is called to show to progress and allow the cancelation.
Progress class has 'operator Gate2<int, int>()', means you can directly connect it here, e.g. this should work:
Progress pi("Loading");
x.ExecuteRedirect(DEFAULT_MAX_REDIRECT, DEFAULT_RETRIES, pi);
Mirek
|
|
|
|
|
Goto Forum:
Current Time: Fri Sep 20 14:11:00 CEST 2024
Total time taken to generate the page: 0.03100 seconds
|