diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2017-12-26 23:52:44 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2017-12-26 23:52:44 (GMT) |
commit | 2c28d59fb3671c0fdd1987784076d4968c58b651 (patch) | |
tree | a301f6cd9c1fd9f92191fba7fe7b59a7e3a01b5a /src/analysis/binary.h | |
parent | 67b4887317b7394d63b543aa48cb368406374103 (diff) |
Created the GLoadedContent interface to load all kinds of content.
Diffstat (limited to 'src/analysis/binary.h')
-rw-r--r-- | src/analysis/binary.h | 35 |
1 files changed, 18 insertions, 17 deletions
diff --git a/src/analysis/binary.h b/src/analysis/binary.h index 2df42aa..73b5a71 100644 --- a/src/analysis/binary.h +++ b/src/analysis/binary.h @@ -74,16 +74,6 @@ typedef enum _BinaryPartModel } BinaryPartModel; -/* Type de représentations */ -typedef enum _BinaryView -{ - BVW_BLOCK, /* Version basique */ - BVW_GRAPH, /* Affichage en graphique */ - - BVW_COUNT - -} BinaryView; - /* Indique le type défini pour une description de fichier binaire. */ GType g_loaded_binary_get_type(void); @@ -95,7 +85,7 @@ GLoadedBinary *g_loaded_binary_new(GBinContent *); GLoadedBinary *g_loaded_binary_new_from_xml(xmlXPathContextPtr, const char *, GStudyProject *); /* Ecrit une sauvegarde du binaire dans un fichier XML. */ -bool g_loaded_binary_save(const GLoadedBinary *, xmlDocPtr, xmlXPathContextPtr, const char *); +bool g_loaded_binary_save(const GLoadedBinary *, xmlDocPtr, xmlXPathContextPtr, const char *, const char *); /* Fournit le nom associé à l'élément binaire. */ const char *g_loaded_binary_get_name(const GLoadedBinary *, bool); @@ -191,15 +181,26 @@ GBufferCache *g_loaded_binary_get_disassembled_cache(const GLoadedBinary *); /* Fournit le tampon associé au contenu d'un fichier source. */ //GCodeBuffer *g_loaded_binary_get_decompiled_buffer(const GLoadedBinary *, size_t); -/* Définit si une colonne donnée doit apparaître dans le rendu. */ -void g_loaded_binary_set_column_display(GLoadedBinary *, BinaryView, BufferLineColumn, bool); - -/* Indique quelles colonnes doivent apparaître dans le rendu. */ -const bool *g_loaded_binary_get_column_display(GLoadedBinary *, BinaryView); - /* Indique si les lignes doivent apparaître dans le rendu. */ bool *g_loaded_binary_display_decomp_lines(GLoadedBinary *); + + +/* ---------------------- GESTION SOUS FORME DE CONTENU CHARGE ---------------------- */ + + +/* Type de représentations */ +typedef enum _BinaryView +{ + BVW_BLOCK, /* Version basique */ + BVW_GRAPH, /* Affichage en graphique */ + + BVW_COUNT + +} BinaryView; + + + #endif /* _ANALYSIS_BINARY_H */ |