summaryrefslogtreecommitdiff
path: root/plugins/devdbg
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-06-17 13:17:54 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-06-17 13:17:54 (GMT)
commit1f7e9506775f66a3a5f2859779d33b914eee8ef4 (patch)
tree1a34bde49fbbf4e809d4f37ad07f49ac5819d90b /plugins/devdbg
parente1cf7de1c136e39c67facea8395f58cb3afff790 (diff)
Extended the environment provided with the plugins API.
Diffstat (limited to 'plugins/devdbg')
-rw-r--r--plugins/devdbg/speed.c10
-rw-r--r--plugins/devdbg/speed.h2
2 files changed, 7 insertions, 5 deletions
diff --git a/plugins/devdbg/speed.c b/plugins/devdbg/speed.c
index f967e43..f9fccfe 100644
--- a/plugins/devdbg/speed.c
+++ b/plugins/devdbg/speed.c
@@ -50,9 +50,11 @@ typedef struct _speed_measure
/******************************************************************************
* *
-* Paramètres : plugin = greffon à manipuler. *
-* action = type d'action attendue. *
-* binary = binaire dont le contenu est en cours de traitement. *
+* Paramètres : plugin = greffon à manipuler. *
+* action = type d'action attendue. *
+* binary = binaire dont le contenu est en cours de traitement.*
+* status = barre de statut à tenir informée. *
+* context = contexte de désassemblage. *
* *
* Description : Exécute une action pendant un désassemblage de binaire. *
* *
@@ -62,7 +64,7 @@ typedef struct _speed_measure
* *
******************************************************************************/
-G_MODULE_EXPORT void process_binary_disassembly(const GPluginModule *plugin, PluginAction action, GLoadedBinary *binary)
+G_MODULE_EXPORT void process_binary_disassembly(const GPluginModule *plugin, PluginAction action, GLoadedBinary *binary, GtkStatusStack *status, GProcContext *context)
{
speed_measure *measure; /* Suivi des progressions */
diff --git a/plugins/devdbg/speed.h b/plugins/devdbg/speed.h
index 129f373..4367570 100644
--- a/plugins/devdbg/speed.h
+++ b/plugins/devdbg/speed.h
@@ -31,7 +31,7 @@
/* Exécute une action pendant un désassemblage de binaire. */
-G_MODULE_EXPORT void process_binary_disassembly(const GPluginModule *, PluginAction , GLoadedBinary *);
+G_MODULE_EXPORT void process_binary_disassembly(const GPluginModule *, PluginAction , GLoadedBinary *, GtkStatusStack *, GProcContext *);