diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2009-06-13 14:05:50 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2009-06-13 14:05:50 (GMT) |
commit | ecb9ecc486049fe3bec6ecaeeb27f08f67bf0ef0 (patch) | |
tree | c4d84575960583ad61981adef6ed8f958ef9d817 /src/project.h | |
parent | fc8324b66dee0abf0a5e5e3cc570e1aed96b80c8 (diff) |
Made the GUI offer to change the view of the current analyzed binary.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@73 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/project.h')
-rw-r--r-- | src/project.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/src/project.h b/src/project.h index 64c32bd..cf5613d 100644 --- a/src/project.h +++ b/src/project.h @@ -25,10 +25,25 @@ #define _PROJECT_H +#include <gtk/gtkwidget.h> + + #include "analysis/binary.h" +/* Type de représentations */ +typedef enum _BinaryView +{ + BVW_BLOCK, /* Version basique */ + BVW_GRAPH, /* Affichage en graphqie */ + + BVW_COUNT + +} BinaryView; + + + /* Propriétés d'un ensemble de fichiers ouverts */ typedef struct openida_project openida_project; @@ -66,6 +81,9 @@ void attach_binary_to_openida_project(openida_project *, openida_binary *); /* Détache un fichier donné à un projet donné. */ void detach_binary_to_openida_project(openida_project *, openida_binary *); +/* Fournit un support d'affichage donné pour un binaire chargé. */ +GtkWidget *get_view_for_openida_project_binary(const openida_project *, const openida_binary *, BinaryView); + /* Fournit l'ensemble des binaires associés à un projet. */ const openida_binary **get_openida_project_binaries(const openida_project *, size_t *); |