MCPcopy Create free account
hub / github.com/bruderstein/nppPluginManager / refreshDownload

Method refreshDownload

pluginManager/src/pluginmanagerdialog.cpp:717–731  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

715}
716
717void 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
733void PluginManagerDialog::refreshLists()
734{

Callers

nothing calls this directly

Calls 1

setMessageMethod · 0.80

Tested by

no test coverage detected