MCPcopy Create free account
hub / github.com/SpartanJ/eepp / ~UIDownloadWindow

Method ~UIDownloadWindow

src/tools/ecode/uidownloadwindow.cpp:33–38  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

31}
32
33UIDownloadWindow::~UIDownloadWindow() {
34 if ( mStatus == Status::Running && Http::Pool::getGlobal().exists( mURI, mProxyURI ) ) {
35 auto http = Http::Pool::getGlobal().get( mURI, mProxyURI );
36 http->setCancelRequest( mReqId );
37 }
38}
39
40UIDownloadWindow* UIDownloadWindow::startDownload( const std::string& url ) {
41 findByClass( "download_url" )->asType<UITextView>()->setText( url );

Callers

nothing calls this directly

Calls 3

setCancelRequestMethod · 0.80
existsMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected