summaryrefslogtreecommitdiff
path: root/src/analysis/project.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2017-12-26 23:52:44 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2017-12-26 23:52:44 (GMT)
commit2c28d59fb3671c0fdd1987784076d4968c58b651 (patch)
treea301f6cd9c1fd9f92191fba7fe7b59a7e3a01b5a /src/analysis/project.h
parent67b4887317b7394d63b543aa48cb368406374103 (diff)
Created the GLoadedContent interface to load all kinds of content.
Diffstat (limited to 'src/analysis/project.h')
-rw-r--r--src/analysis/project.h34
1 files changed, 8 insertions, 26 deletions
diff --git a/src/analysis/project.h b/src/analysis/project.h
index 8288384..9e777ee 100644
--- a/src/analysis/project.h
+++ b/src/analysis/project.h
@@ -29,15 +29,14 @@
#include "binary.h"
-#include "../gtkext/gtkdockstation.h"
-#include "../gtkext/gtkdisplaypanel.h"
+#include "loaded.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;
+//typedef struct _GPanelItem GPanelItem;
/**
* Autre boucle sans fin similaire...
@@ -99,11 +98,11 @@ GBinContent *g_study_project_find_binary_content_by_hash(GStudyProject *, const
/* Acquitte la fin d'un chargement différé et complet. */
void ack_loaded_binary(GBinaryLoader *, GStudyProject *);
-/* Attache un fichier donné à un projet donné. */
-void g_study_project_attach_binary(GStudyProject *, GLoadedBinary *);
+/* Attache un contenu donné à un projet donné. */
+void g_study_project_attach_content(GStudyProject *, GLoadedContent *);
-/* Détache un fichier donné à un projet donné. */
-void g_study_project_detach_binary(GStudyProject *, GLoadedBinary *);
+/* Détache un contenu donné d'un projet donné. */
+void g_study_project_detach_content(GStudyProject *, GLoadedContent *);
/* Met en place un projet à l'écran. */
void g_study_project_display(const GStudyProject *);
@@ -111,25 +110,8 @@ void g_study_project_display(const GStudyProject *);
/* Supprime de l'écran un projet en place. */
void g_study_project_hide(const GStudyProject *);
-/* Fournit l'ensemble des binaires associés à un projet. */
-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, GtkDisplayPanel **);
-
-/* Fournit la station d'accueil d'un panneau d'affichage. */
-GtkDockStation *get_dock_station_for_view_panel(GtkDisplayPanel *);
-
-/* Fournit le support défilant d'un panneau d'affichage. */
-GtkWidget *get_scroll_window_for_view_panel(GtkDisplayPanel *);
-
-/* Fournit une vision alternative d'un panneau d'affichage. */
-GtkDisplayPanel *get_alt_view_for_view_panel(GtkDisplayPanel *, BinaryView);
+/* Fournit l'ensemble des contenus associés à un projet. */
+GLoadedContent **g_study_project_get_contents(GStudyProject *, size_t *);