diff options
Diffstat (limited to 'src/gtkext/gtksnippet.h')
-rw-r--r-- | src/gtkext/gtksnippet.h | 37 |
1 files changed, 0 insertions, 37 deletions
diff --git a/src/gtkext/gtksnippet.h b/src/gtkext/gtksnippet.h index 41727bd..f079258 100644 --- a/src/gtkext/gtksnippet.h +++ b/src/gtkext/gtksnippet.h @@ -31,38 +31,10 @@ #include "../analysis/line.h" -#include "../arch/instruction.h" -#include "../arch/processor.h" #include "../format/exe_format.h" -typedef struct _code_line_info -{ - uint64_t offset; /* Position de l'instruction */ - asm_instr *instr; /* Eventuelle instruction */ - char *comment; /* Eventuel commentaire */ - - gboolean bp_set; /* Point d'arrêt défini */ - -} code_line_info; - - - - -/* Crée une ligne de représentation insérable. */ -code_line_info *create_code_line_info(uint64_t, asm_instr *, const char *); - -/* Supprime une ligne de représentation. */ -void delete_code_line_info(code_line_info *); - -/* Etablit la comparaison entre deux lignes de représentation. */ -int compare_code_line_info(const code_line_info **, const code_line_info **); - - - - - G_BEGIN_DECLS @@ -92,9 +64,6 @@ struct _GtkSnippet { int line_height; /* Hauteur maximale des lignes */ const exe_format *format; /* Format du contenu bianire */ - const asm_processor *proc; /* Architecture utilisée */ - code_line_info *info; /* Contenu à représenter */ - unsigned int info_count; /* Quantité d'informations */ GRenderingLine *lines; /* Contenu à représenter */ @@ -127,12 +96,6 @@ void gtk_snippet_show_code(GtkSnippet *, gboolean); /* Définit le format auquel le contenu est lié. */ void gtk_snippet_set_format(GtkSnippet *, const exe_format *); -/* Définit l'architecture à laquelle le contenu est lié. */ -void gtk_snippet_set_processor(GtkSnippet *, const asm_processor *); - -/* Ajoute une ligne dans le bloc de représentation. */ -void gtk_snippet_add_line(GtkSnippet *, const code_line_info *); - /* Définit les lignes du bloc de représentation. */ void gtk_snippet_set_rendering_lines(GtkSnippet *, GRenderingLine *); |