diff options
Diffstat (limited to 'src/plugins/plugin-int.h')
-rw-r--r-- | src/plugins/plugin-int.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/plugins/plugin-int.h b/src/plugins/plugin-int.h index 055f6ff..20d9720 100644 --- a/src/plugins/plugin-int.h +++ b/src/plugins/plugin-int.h @@ -40,6 +40,9 @@ typedef char * (* get_plugin_name_fc) (void); /* Procède à l'initialisation du greffon. */ typedef bool (* init_plugin_fc) (GPluginModule *, GObject *); +/* Procède à l'extinction du greffon. */ +typedef void (* exit_plugin_fc) (GPluginModule *); + /* Fournit une indication sur le type d'opération(s) menée(s). */ typedef PluginAction (* get_plugin_action_fc) (const GPluginModule *); @@ -65,6 +68,7 @@ struct _GPluginModule PluginType type; /* Type(s) du greffon */ init_plugin_fc init; /* Procédure d'initialisation */ + exit_plugin_fc exit; /* Procédure d'extinction */ get_plugin_action_fc get_action; /* Opération(s) menée(s) */ is_matching_fc is_matching; /* Recherche de correspondance */ |