| 767 | } |
| 768 | |
| 769 | void App::onPluginEnabled( Plugin* plugin ) { |
| 770 | if ( mSplitter ) { |
| 771 | mSplitter->forEachEditor( |
| 772 | [plugin]( UICodeEditor* editor ) { editor->registerPlugin( plugin ); } ); |
| 773 | } |
| 774 | |
| 775 | if ( firstFrame && mConfig.isNewVersion() ) { |
| 776 | plugin->onVersionUpgrade( mConfig.windowState.lastRunVersion, |
| 777 | ecode::Version::getVersionNum() ); |
| 778 | } |
| 779 | } |
| 780 | |
| 781 | void App::initPluginManager() { |
| 782 | mPluginManager = std::make_unique<PluginManager>( |
nothing calls this directly
no test coverage detected