MCPcopy Create free account
hub / github.com/SpartanJ/eepp / onPluginEnabled

Method onPluginEnabled

src/tools/ecode/ecode.cpp:769–779  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

767}
768
769void 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
781void App::initPluginManager() {
782 mPluginManager = std::make_unique<PluginManager>(

Callers

nothing calls this directly

Calls 4

forEachEditorMethod · 0.80
isNewVersionMethod · 0.80
registerPluginMethod · 0.45
onVersionUpgradeMethod · 0.45

Tested by

no test coverage detected