Logo Search packages:      
Sourcecode: codeblocks version File versions  Download package

virtual void cbPlugin::OnAttach (  )  [inline, protected, virtual, inherited]

Any descendent plugin should override this virtual method and perform any necessary initialization. This method is called by Code::Blocks (PluginManager actually) when the plugin has been loaded and should attach in Code::Blocks. When Code::Blocks starts up, it finds and loads all plugins but does not activate (attaches) them. It then activates all plugins that the user has selected to be activated on start-up.
This means that a plugin might be loaded but not activated...
Think of this method as the actual constructor...

Reimplemented in CodeStat, and wxSmith.

Definition at line 188 of file cbplugin.h.

Referenced by cbPlugin::Attach().


Generated by  Doxygen 1.6.0   Back to index