summaryrefslogtreecommitdiff
path: root/src/plugins/plugin.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/plugin.c')
-rw-r--r--src/plugins/plugin.c30
1 files changed, 3 insertions, 27 deletions
diff --git a/src/plugins/plugin.c b/src/plugins/plugin.c
index dc8fc59..e96ddc9 100644
--- a/src/plugins/plugin.c
+++ b/src/plugins/plugin.c
@@ -1170,38 +1170,14 @@ void g_plugin_module_handle_loaded_content(const GPluginModule *plugin, PluginAc
bool g_plugin_module_handle_known_format_analysis(const GPluginModule *plugin, PluginAction action, GKnownFormat *format, wgroup_id_t gid, GtkStatusStack *status)
{
+ bool result; /* Bilan à retourner */
GPluginModuleClass *class; /* Classe de l'instance active */
class = G_PLUGIN_MODULE_GET_CLASS(plugin);
- return false;//class->handle_fmt_analysis(plugin, action, G_BIN_FORMAT(format), gid, status);
-
-}
-
-
-/******************************************************************************
-* *
-* Paramètres : plugin = greffon à manipuler. *
-* action = type d'action attendue. *
-* format = format de binaire à manipuler pendant l'opération. *
-* gid = groupe de travail dédié. *
-* status = barre de statut à tenir informée. *
-* *
-* Description : Procède à une opération liée à l'analyse d'un format. *
-* *
-* Retour : Bilan de l'exécution du traitement. *
-* *
-* Remarques : - *
-* *
-******************************************************************************/
-
-bool g_plugin_module_handle_binary_format_analysis(const GPluginModule *plugin, PluginAction action, GBinFormat *format, wgroup_id_t gid, GtkStatusStack *status)
-{
- GPluginModuleClass *class; /* Classe de l'instance active */
-
- class = G_PLUGIN_MODULE_GET_CLASS(plugin);
+ result = class->handle_fmt_analysis(plugin, action, format, gid, status);
- return class->handle_fmt_analysis(plugin, action, format, gid, status);
+ return result;
}