Plugins: Support loading optional plugins
Add optional-plugins GSetting, automatically load any plugins specified there at startup, and allow getting, loading and unloading optional plugins via Application.PluginManager.
This commit is contained in:
parent
627bfb7c89
commit
0c526f6644
3 changed files with 82 additions and 0 deletions
|
|
@ -141,6 +141,12 @@
|
|||
be displayed.</description>
|
||||
</key>
|
||||
|
||||
<key name="optional-plugins" type="as">
|
||||
<default>[]</default>
|
||||
<summary>List of optional plugins</summary>
|
||||
<description>Plugins listed here will be loaded on startup.</description>
|
||||
</key>
|
||||
|
||||
<key name="migrated-config" type="b">
|
||||
<default>false</default>
|
||||
<summary>Whether we migrated the old settings</summary>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue