| 715 | } |
| 716 | |
| 717 | void PluginManagerDialog::refreshDownload(PVOID pvoid) { |
| 718 | |
| 719 | PluginManagerDialog *dlg = reinterpret_cast<PluginManagerDialog *>(pvoid); |
| 720 | |
| 721 | if (dlg->_isDownloading) { |
| 722 | ::WaitForSingleObject(reinterpret_cast<HANDLE>(dlg->_downloadThread), 90000); |
| 723 | } |
| 724 | delete dlg->_pluginList; |
| 725 | dlg->_pluginList = NULL; |
| 726 | dlg->_availableListView.setMessage(_T("Refreshing plugin list...")); |
| 727 | dlg->_updatesListView.setMessage(_T("Refreshing plugin list...")); |
| 728 | dlg->_installedListView.setMessage(_T("Refreshing plugin list...")); |
| 729 | dlg->_downloadThread = _beginthread(downloadAndPopulate, 0, dlg); |
| 730 | _endthread(); |
| 731 | } |
| 732 | |
| 733 | void PluginManagerDialog::refreshLists() |
| 734 | { |
nothing calls this directly
no test coverage detected