summaryrefslogtreecommitdiff
path: root/src/gui/editem-int.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/editem-int.h')
-rw-r--r--src/gui/editem-int.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/src/gui/editem-int.h b/src/gui/editem-int.h
index 801e54c..744a55f 100644
--- a/src/gui/editem-int.h
+++ b/src/gui/editem-int.h
@@ -34,24 +34,23 @@
#include "../analysis/project.h"
#include "../common/dllist.h"
-#include "../gtkext/gtkdisplaypanel.h"
-/* Réagit à un changement du binaire courant. */
-typedef void (* update_item_binary_fc) (GEditorItem *, GLoadedBinary *);
+/* Réagit à un changement de contenu chargé en cours d'analyse. */
+typedef void (* change_item_content_fc) (GEditorItem *, GLoadedContent *, GLoadedContent *);
-/* Réagit à un changement d'affichage principal de contenu. */
-typedef void (* update_item_view_fc) (GEditorItem *, GLoadedPanel *);
+/* Réagit à un changement de vue du contenu en cours d'analyse. */
+typedef void (* change_item_view_fc) (GEditorItem *, GLoadedPanel *, GLoadedPanel *);
-/* Réagit à un changement de focus des panneaux d'affichage. */
-typedef void (* notify_focus_change_fc) (GEditorItem *, GLoadedPanel *);
+/* Réagit à une modification de la vue du contenu analysé. */
+typedef void (* update_item_view_fc) (GEditorItem *, GLoadedPanel *);
/* Suit les changements de position dans du code d'assembleur. */
-typedef void (* track_caret_in_view_fc) (GEditorItem *, GtkDisplayPanel *, const vmpa2t *);
+typedef void (* track_cursor_in_view_fc) (GEditorItem *, GLoadedPanel *, const GLineCursor *);
/* Concentre l'attention de l'ensemble sur une adresse donnée. */
-typedef void (* focus_addr_fc) (GEditorItem *, GLoadedBinary *, const vmpa2t *);
+typedef void (* focus_cursor_fc) (GEditorItem *, GLoadedContent *, const GLineCursor *);
/* Lance une actualisation relative à l'étendue du projet. */
typedef void (* update_project_fc) (GEditorItem *, GStudyProject *);
@@ -77,12 +76,11 @@ struct _GEditorItemClass
{
GObjectClass parent; /* A laisser en premier */
- update_item_binary_fc update_binary; /* Changement de binaire */
- update_item_view_fc update_view; /* Rechargement dû à une vue */
- update_item_view_fc update_content; /* Rechargement dû à un contenu*/
- notify_focus_change_fc notify_focus; /* Gain ou perte de focus */
- track_caret_in_view_fc track_caret; /* Suivi des positions */
- focus_addr_fc focus_addr; /* Prête attention à une addr. */
+ change_item_content_fc change_content; /* Changement de contenu */
+ change_item_view_fc change_view; /* Rechargement dû à une vue */
+ update_item_view_fc update_view; /* Rechargement dû à évolutions*/
+ track_cursor_in_view_fc track_cursor; /* Suivi des positions */
+ focus_cursor_fc focus_cursor; /* Prête attention à une addr. */
update_project_fc update_project; /* Actualisation des binaires */
};