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

Function doReloadXml

pluginManager/src/PluginManager.cpp:412–426  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

410
411#ifdef ALLOW_OVERRIDE_XML_URL
412void doReloadXml()
413{
414 if (NULL == g_pluginList)
415 {
416 g_pluginList = new PluginList();
417 g_pluginList->init(&nppData);
418 pluginManagerDlg.setPluginList(g_pluginList);
419 }
420
421 g_pluginList->downloadList();
422
423 pluginManagerDlg.refreshLists();
424 ::MessageBox(nppData._nppHandle, _T("XML Refreshed"), _T("Plugin Manager"), MB_OK |MB_ICONINFORMATION);
425
426}
427#endif

Callers

nothing calls this directly

Calls 4

setPluginListMethod · 0.80
downloadListMethod · 0.80
refreshListsMethod · 0.80
initMethod · 0.45

Tested by

no test coverage detected