diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-12-31 11:40:42 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-12-31 11:40:42 (GMT) |
commit | 8965133f188c817cbdf4fcf9d1f1b60462bbfe7d (patch) | |
tree | 96193fdbcb692790bb2ffe4de7b2020b0dbf528d /src/plugins/plugin-int.h | |
parent | 93e9ab125bced1374c7d4a03e5bd11a0dc1b2968 (diff) |
Offered a custom configuration facility to each plugin.
Diffstat (limited to 'src/plugins/plugin-int.h')
-rw-r--r-- | src/plugins/plugin-int.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/plugins/plugin-int.h b/src/plugins/plugin-int.h index 98a07bb..88e0fbb 100644 --- a/src/plugins/plugin-int.h +++ b/src/plugins/plugin-int.h @@ -96,6 +96,8 @@ struct _GPluginModule bitfield_t *dependencies; /* Cartographie des dépendances*/ + GGenConfig *config; /* Configuration dédiée */ + }; @@ -105,6 +107,7 @@ struct _GPluginModuleClass GObjectClass parent; /* A laisser en premier */ pg_management_fc init; /* Procédure d'initialisation */ + pg_management_fc manage; /* Etape dans la vie du greffon*/ pg_management_fc exit; /* Procédure d'extinction */ pg_plugins_loaded_fc plugins_loaded; /* Fin des chargements */ @@ -130,5 +133,9 @@ struct _GPluginModuleClass }; +/* Met en place la configuration dédiée au greffon. */ +void g_plugin_module_create_config(GPluginModule *); + + #endif /* _PLUGINS_PLUGIN_INT_H */ |