MCPcopy Create free account
hub / github.com/cxasm/notepad-- / loadPluginProcs

Method loadPluginProcs

src/cceditor/ccnotepad.cpp:1815–1824  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1813}
1814
1815void CCNotePad::loadPluginProcs(QString strLibDir, QMenu* pMenu)
1816{
1817 std::function<void(NDD_PROC_DATA&, QMenu*)> foundCallBack = std::bind(&CCNotePad::onPlugFound, this, std::placeholders::_1, std::placeholders::_2);
1818
1819 int nRet = loadProc(strLibDir, foundCallBack, pMenu);
1820 if (nRet > 0)
1821 {
1822 ui.statusBar->showMessage(tr("load plugin in dir %1 success, plugin num %2").arg(strLibDir).arg(nRet));
1823 }
1824}
1825#endif
1826
1827//批量查找替换

Callers

nothing calls this directly

Calls 1

loadProcFunction · 0.85

Tested by

no test coverage detected