| 1813 | } |
| 1814 | |
| 1815 | void 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 | //批量查找替换 |
nothing calls this directly
no test coverage detected