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 876dc99..129e155 100644 --- a/src/plugins/plugin-int.h +++ b/src/plugins/plugin-int.h @@ -45,6 +45,9 @@ typedef bool (* pg_management_fc) (GPluginModule *); /* Accompagne la fin du chargement des modules natifs. */ typedef void (* pg_native_loaded_fc) (GPluginModule *, PluginAction); +/* Crée une instance à partir d'un type dynamique externe. */ +typedef gpointer (* pg_build_instance_fc) (GPluginModule *, PluginAction, GType); + /* Fournit le nom brut associé au greffon. */ typedef char * (* pg_get_modname_fc) (const GPluginModule *); @@ -99,6 +102,7 @@ struct _GPluginModuleClass pg_management_fc exit; /* Procédure d'extinction */ pg_native_loaded_fc native_loaded; /* Fin des chargements natifs */ + pg_build_instance_fc build_instance; /* Création d'objets */ pg_get_modname_fc get_modname; /* Fourniture du nom brut */ |