summaryrefslogtreecommitdiff
path: root/src/panels/panel.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/panels/panel.c')
-rw-r--r--src/panels/panel.c27
1 files changed, 27 insertions, 0 deletions
diff --git a/src/panels/panel.c b/src/panels/panel.c
index 9cf3f98..c9acac9 100644
--- a/src/panels/panel.c
+++ b/src/panels/panel.c
@@ -25,6 +25,7 @@
#include "panel.h"
+#include "breaks.h"
#include "glimpse.h"
#include "panel-int.h"
#include "symbols.h"
@@ -143,6 +144,9 @@ void init_internal_panels(void)
{
GEditorPanel *panel; /* Nouveau panneau chargé */
+ panel = g_breaks_panel_new();
+ panels_list_add_tail(panel, &panels_list);
+
panel = g_symbols_panel_new();
panels_list_add_tail(panel, &panels_list);
@@ -180,6 +184,29 @@ void place_all_panels_in_editor(GtkWidget *top)
/******************************************************************************
* *
+* Paramètres : binary = nouvelle instance de binaire analysé. *
+* *
+* Description : Lance une actualisation du fait d'un changement de binaire. *
+* *
+* Retour : - *
+* *
+* Remarques : - *
+* *
+******************************************************************************/
+
+void notify_panels_of_binary_change(GOpenidaBinary *binary)
+{
+ GEditorPanel *iter; /* Boucle de parcours */
+
+ panels_list_for_each(iter, panels_list)
+ if (iter->reload_binary != NULL)
+ iter->reload_binary(iter, binary);
+
+}
+
+
+/******************************************************************************
+* *
* Paramètres : view = nouvelle visualisation de désassemblage. *
* same = changement de binaire ou de vue ? *
* *