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

Method onRegisterDocument

src/tools/ecode/plugins/xmltools/xmltoolsplugin.cpp:102–106  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

100}
101
102void XMLToolsPlugin::onRegisterDocument( TextDocument* doc ) {
103 Lock l( mClientsMutex );
104 mClients[doc] = std::make_unique<XMLToolsClient>( this, doc );
105 doc->registerClient( mClients[doc].get() );
106}
107
108void XMLToolsPlugin::onUnregisterDocument( TextDocument* doc ) {
109 Lock l( mClientsMutex );

Callers

nothing calls this directly

Calls 2

registerClientMethod · 0.45
getMethod · 0.45

Tested by

no test coverage detected