summaryrefslogtreecommitdiff
path: root/src/analysis/line.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2009-02-18 00:47:48 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2009-02-18 00:47:48 (GMT)
commitc2d9948e1e67b48d1a6c8a711024d8dd3f6ac507 (patch)
tree0b651a1f7d640ce75414aade589a141d22698bc4 /src/analysis/line.h
parentd7765c0e6d2685b57625f607325f4a80eb28dbe5 (diff)
Begun to rewrite the way rendering lines are managed.
git-svn-id: svn://svn.gna.org/svn/chrysalide/trunk@49 abbe820e-26c8-41b2-8c08-b7b2b41f8b0a
Diffstat (limited to 'src/analysis/line.h')
-rw-r--r--src/analysis/line.h68
1 files changed, 68 insertions, 0 deletions
diff --git a/src/analysis/line.h b/src/analysis/line.h
new file mode 100644
index 0000000..dd0915c
--- /dev/null
+++ b/src/analysis/line.h
@@ -0,0 +1,68 @@
+
+/* OpenIDA - Outil d'analyse de fichiers binaires
+ * line.h - prototypes pour la représentation des lignes de rendu
+ *
+ * Copyright (C) 2008 Cyrille Bagard
+ *
+ * This file is part of OpenIDA.
+ *
+ * OpenIDA is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * OpenIDA is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Foobar. If not, see <http://www.gnu.org/licenses/>.
+ */
+
+
+#ifndef _ANALYSIS_LINE_H
+#define _ANALYSIS_LINE_H
+
+
+#include <gtk/gtk.h>
+
+
+/* Définitions des types de ligne */
+typedef enum _RenderingLineType
+{
+ RLT_PROLOGUE /* Description de l'analyse */
+
+
+
+} RenderingLineType;
+
+
+
+
+/* Ligne de représentation générique */
+typedef struct _rendering_line rendering_line;
+
+
+
+/* Ajoute une ligne à un ensemble existant. */
+void add_line_to_rendering_lines(rendering_line **, rendering_line *);
+
+
+
+/* Procède à l'initialisation des bases d'une représentation. */
+void draw_rendering_line(rendering_line *, GdkDrawable *, GdkGC *, gint, gint);
+
+
+
+/* ------------------------- LIGNE EN TETE DE DESASSEMBLAGE ------------------------- */
+
+
+/* Choisit d'afficher le code brut ou non. */
+rendering_line *create_prologue_line(const char *);
+
+
+
+
+
+#endif /* _ANALYSIS_LINE_H */