Top | ![]() |
![]() |
![]() |
![]() |
IdeApplicationAddinIdeApplicationAddin — extend functionality of IdeApplication |
The IdeApplicationAddin interface is used by plugins that want to extend the set of features provided by IdeApplication. This is useful if you need utility code that is bound to the lifetime of the IdeApplication.
The IdeApplicationAddin is created after the application has initialized and unloaded when Builder is shut down.
Use this interface when you can share code between multiple projects that are open at the same time.
void ide_application_addin_load (IdeApplicationAddin *self
,IdeApplication *application
);
This interface method is called when the application is started or the plugin has just been activated.
Use this to setup code in your plugin that needs to be loaded once per application process.
Since: 3.24
void ide_application_addin_unload (IdeApplicationAddin *self
,IdeApplication *application
);
This inteface method is called when the application is shutting down or the plugin has been unloaded.
Use this function to cleanup after anything setup in
ide_application_addin_load()
.
Since: 3.24
struct IdeApplicationAddinInterface { GTypeInterface parent_interface; void (*load) (IdeApplicationAddin *self, IdeApplication *application); void (*unload) (IdeApplicationAddin *self, IdeApplication *application); };
Set this field to implement the |
||
Set this field to implement the |