summaryrefslogtreecommitdiff
path: root/src/project.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/project.h')
-rw-r--r--src/project.h18
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 *);