Commit cf86cfae authored by Jan Möbius's avatar Jan Möbius
Browse files

BaseInterface initialization

git-svn-id: 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 4f95141e
......@@ -287,7 +287,15 @@ To use the BaseInterface:
<li> And add the signals or slots you want to use to your plugin class (You don't need to implement all of them except BaseInterface::description() and BaseInterface::name() )
\section Plugin initialization
BaseInterface provides two functions to initialize a plugin. The first function is BaseInterface::initializePlugin().
This function is called immediatly after the plugin has been connected with OpenFlipper. When a plugin is
loaded, all signals and slots from the used interfaces are connected to the core. After this, the
BaseInterface::initializePlugin() slot is called. In this slot you can initialize your plugin and add
user interface parts to OpenFlipper. The order how plugins are loaded is not fixed. So you should
not rely or communicate with other plugins in this slot. \n
After all plugins are loaded, the slot BaseInterface::pluginsInitialized() is called for each plugin. All
other plugins are now available and the user interface is setup correctly.
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment