downloader
A simple class for download file with wxWidgets and libCurl.
A simple class for download file with wxWidgets and libCurl.
Usage:
#include "dwn.cpp"
class MyApp: public wxApp
{
virtual bool OnInit();
};
bool MyApp::OnInit()
{
wxXmlResource::Get()->InitAllHandlers();
InitXmlResource();
DwnFrame *MainWin = new DwnFrame();
MainWin->ShowFrame();
MainWin->Download("https://www.freemedialab.org/listing/containers/systemd-nspawn/x86_64/Fedora/Fedora-38_x86_64.tar.gz","Fedora-38_x86_64.tar.gz");
return true;
}
IMPLEMENT_APP(MyApp)