diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-08-26 22:15:05 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-08-26 22:15:05 (GMT) |
commit | 8ca477e012b11a19363542d171b8e973d637641c (patch) | |
tree | 94a4fcde1779f031946eff7a36075f41a17cd73b /src/gui/core/global.h | |
parent | 4fb2ac107092671fe27fc3ebf9fc86dff7c3ec19 (diff) |
Removed most of the functions using the editor items as global access to active items.
Diffstat (limited to 'src/gui/core/global.h')
-rw-r--r-- | src/gui/core/global.h | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/src/gui/core/global.h b/src/gui/core/global.h index 2306438..33225e3 100644 --- a/src/gui/core/global.h +++ b/src/gui/core/global.h @@ -25,6 +25,8 @@ #define _GUI_CORE_GLOBAL_H +#include "../../analysis/binary.h" +#include "../../gtkext/gtkdisplaypanel.h" #include "../../gtkext/gtkstatusstack.h" @@ -35,6 +37,24 @@ void set_global_status(GtkStatusStack *); /* Fournit l'adresse de la barre de statut principale. */ GtkStatusStack *get_global_status(void); +/* Définit le binaire actif en cours d'étude. */ +void set_current_binary(GLoadedBinary *); + +/* Fournit le binaire actif en cours d'étude. */ +GLoadedBinary *get_current_binary(void); + +/* Définit l'affichage de binaire courant. */ +void set_current_view(GtkDisplayPanel *); + +/* Fournit l'affichage de binaire courant. */ +GtkDisplayPanel *get_current_view(void); + +/* Définit le support contenant la position active. */ +void set_caret_instance(GObject *); + +/* Fournit le support contenant la position active. */ +GObject *get_caret_instance(void); + #endif /* _GUI_CORE_GLOBAL_H */ |