summaryrefslogtreecommitdiff
path: root/src/gtkext/gtkblockview.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/gtkblockview.h')
-rw-r--r--src/gtkext/gtkblockview.h47
1 files changed, 7 insertions, 40 deletions
diff --git a/src/gtkext/gtkblockview.h b/src/gtkext/gtkblockview.h
index ed958d0..af2ba2b 100644
--- a/src/gtkext/gtkblockview.h
+++ b/src/gtkext/gtkblockview.h
@@ -25,13 +25,8 @@
#define _GTKEXT_GTKBLOCKVIEW_H
-#include <stdint.h>
-#include <gtk/gtk.h>
-#include <cairo.h>
-
-
-#include "../analysis/line.h"
-#include "../format/exe_format.h"
+#include <glib-object.h>
+#include <gtk/gtkwidget.h>
@@ -43,46 +38,18 @@
#define GTK_BLOCK_VIEW_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), GTK_TYPE_BLOCK_VIEW, GtkBlockViewClass))
-
+/* Composant d'affichage de code d'assembleur (instance) */
typedef struct _GtkBlockView GtkBlockView;
-
+/* Composant d'affichage de code d'assembleur (classe) */
typedef struct _GtkBlockViewClass GtkBlockViewClass;
-
-/* Détermine le type du composant d'affichage en block. */
+/* Détermine le type du composant d'affichage de bloc en langage d'assemblage. */
GType gtk_block_view_get_type(void);
-/* Crée un nouveau composant pour l'affichage en block. */
-GtkWidget *gtk_block_view_new(MainRendering);
-
-
-
-
-
-
-
-
-
-
-
-
-/* Choisit d'afficher les adresses virtuelles ou non. */
-void gtk_block_view_show_vaddress(GtkBlockView *, gboolean);
-
-/* Choisit d'afficher le code brut ou non. */
-void gtk_block_view_show_code(GtkBlockView *, gboolean);
-
-
-
-
-/* Définit le format auquel le contenu est lié. */
-void gtk_block_view_set_format(GtkBlockView *, const exe_format *);
-
-
-
-
+/* Crée un nouveau composant pour l'affichage de bloc en ASM. */
+GtkWidget *gtk_block_view_new(void);