Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
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 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13975
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
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: downloading file help
Next Topic: making thread
Goto Forum:
  


Current Time: Sun Apr 28 10:11:40 CEST 2024

Total time taken to generate the page: 0.02792 seconds