mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-25 22:03:45 -06:00
.reference: GuiWebDownload
git-svn-id: svn://ultimatepp.org/upp/trunk@4840 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
parent
1c5eeb75a0
commit
170d756d39
2 changed files with 3 additions and 2 deletions
|
|
@ -1,3 +1,5 @@
|
|||
description "Downloads www file directly to disc with GUI response (TcpSocket, HttpRequest demo)\377";
|
||||
|
||||
uses
|
||||
CtrlLib;
|
||||
|
||||
|
|
|
|||
|
|
@ -39,7 +39,7 @@ void Downloader::Start()
|
|||
|
||||
void Downloader::Perform()
|
||||
{
|
||||
url = "http://downloads.sourceforge.net/project/upp/upp/4179/upp-x1 1-src-4179.tar.gz";
|
||||
url = "http://downloads.sourceforge.net/project/upp/upp/4179/upp-x11-src-4179.tar.gz";
|
||||
for(;;) {
|
||||
if(!EditText(url, "Download", "URL"))
|
||||
break;
|
||||
|
|
@ -83,6 +83,5 @@ void Downloader::ShowProgress()
|
|||
|
||||
GUI_APP_MAIN
|
||||
{
|
||||
HttpRequest::Trace();
|
||||
Downloader().Perform();
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue