MCPcopy Create free account
hub / github.com/amule-project/amule / GetSpeedFromString

Function GetSpeedFromString

src/MuleTrayIcon.cpp:567–574  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

565/****************************************************/
566
567static long GetSpeedFromString(wxString label){
568 long temp;
569 label.Replace(_("kB/s"),"",TRUE);
570 label.Trim(FALSE);
571 label.Trim(TRUE);
572 label.ToLong(&temp);
573 return temp;
574}
575
576void CMuleTrayIcon::SetUploadSpeed(wxCommandEvent& event){
577

Callers 2

SetUploadSpeedMethod · 0.85
SetDownloadSpeedMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected