| 474 | |
| 475 | |
| 476 | void CIPFilter::Update(const wxString& strURL) |
| 477 | { |
| 478 | if (!strURL.IsEmpty()) { |
| 479 | m_URL = strURL; |
| 480 | |
| 481 | wxString filename = thePrefs::GetConfigDir() + "ipfilter.download"; |
| 482 | wxString oldfilename = thePrefs::GetConfigDir() + "ipfilter.dat"; |
| 483 | CHTTPDownloadThread *downloader = new CHTTPDownloadThread(m_URL, filename, oldfilename, HTTP_IPFilter, true, true); |
| 484 | |
| 485 | downloader->Create(); |
| 486 | downloader->Run(); |
| 487 | } |
| 488 | } |
| 489 | |
| 490 | |
| 491 | void CIPFilter::DownloadFinished(uint32 result) |
no test coverage detected