summaryrefslogtreecommitdiff
path: root/src/analysis/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/project.h')
-rw-r--r--src/analysis/project.h30
1 files changed, 26 insertions, 4 deletions
diff --git a/src/analysis/project.h b/src/analysis/project.h
index 5f5b38c..a8fafb0 100644
--- a/src/analysis/project.h
+++ b/src/analysis/project.h
@@ -29,9 +29,17 @@
#include "binary.h"
+#include "../gtkext/gtkdockstation.h"
#include "../gtkext/gtkviewpanel.h"
+/**
+ * Comme "gui/panels/panel.h" inclut "gui/editem.h", qui inclut lui même
+ * ce fichier pour la mise à jour de la zone de projet, on redéfinit...
+ */
+typedef struct _GPanelItem GPanelItem;
+
+
/* ------------------------- DEFINITION D'UN PROJET INTERNE ------------------------- */
@@ -87,14 +95,11 @@ GBinContent *g_study_project_find_binary_content_by_hash(GStudyProject *, const
void g_study_project_add_loaded_binary(GLoadedBinary *, GStudyProject *);
/* Attache un fichier donné à un projet donné. */
-size_t g_study_project_attach_binary(GStudyProject *, GLoadedBinary *);
+void g_study_project_attach_binary(GStudyProject *, GLoadedBinary *);
/* Détache un fichier donné à un projet donné. */
void g_study_project_detach_binary(GStudyProject *, GLoadedBinary *);
-/* Fournit un support d'affichage donné pour un binaire chargé. */
-GtkWidget *g_study_project_get_view_for_binary(const GStudyProject *, const GLoadedBinary *, BinaryView, GtkViewPanel **);
-
/* Met en place un projet à l'écran. */
void g_study_project_display(const GStudyProject *);
@@ -103,6 +108,23 @@ GLoadedBinary **g_study_project_get_binaries(const GStudyProject *, size_t *);
+/* ----------------------- VUES ET BASCULEMENT ENTRE LES VUES ----------------------- */
+
+
+/* Met en place un ensemble de vues pour un binaire. */
+GPanelItem *setup_new_panel_item_for_binary(GStudyProject *, GLoadedBinary *, BinaryView, GtkViewPanel **);
+
+/* Fournit la station d'accueil d'un panneau d'affichage. */
+GtkDockStation *get_dock_station_for_view_panel(GtkViewPanel *);
+
+/* Fournit le support défilant d'un panneau d'affichage. */
+GtkWidget *get_scroll_window_for_view_panel(GtkViewPanel *);
+
+/* Fournit une vision alternative d'un panneau d'affichage. */
+GtkViewPanel *get_alt_view_for_view_panel(GtkViewPanel *, BinaryView);
+
+
+
/* ------------------------- GESTION GLOBALISEE DES PROJETS ------------------------- */