diff options
author | Cyrille Bagard <nocbos@gmail.com> | 2020-08-22 18:03:30 (GMT) |
---|---|---|
committer | Cyrille Bagard <nocbos@gmail.com> | 2020-08-22 18:03:30 (GMT) |
commit | 9dca3fdb21e3086363038926d4f49e1300b4130d (patch) | |
tree | e056d2b59aa8b73e63b8bb5bc74272cb8edc343e /src/analysis/db/items/switcher.h | |
parent | 119039519376c7fbc9ca5735844100467c30192a (diff) |
Restored the operand display switch feature.
Diffstat (limited to 'src/analysis/db/items/switcher.h')
-rw-r--r-- | src/analysis/db/items/switcher.h | 20 |
1 files changed, 11 insertions, 9 deletions
diff --git a/src/analysis/db/items/switcher.h b/src/analysis/db/items/switcher.h index ecc6fd4..daf6154 100644 --- a/src/analysis/db/items/switcher.h +++ b/src/analysis/db/items/switcher.h @@ -54,19 +54,21 @@ typedef struct _GDbSwitcherClass GDbSwitcherClass; /* Indique le type défini pour un signet à l'intérieur d'une zone de texte. */ GType g_db_switcher_get_type(void); -/* Crée une définition d'un signet dans une zone de texte. */ +/* Crée une définition de bascule d'affichage pour un immédiat. */ GDbSwitcher *g_db_switcher_new(GArchInstruction *, const GImmOperand *, ImmOperandDisplay); -#if 0 -/* Fournit l'adresse associée à un signet. */ -const vmpa2t *g_db_switcher_get_address(GDbSwitcher *); +/* Initialise la définition de bascule d'affichage. */ +bool g_db_switcher_fill(GDbSwitcher *, GArchInstruction *, const GImmOperand *, ImmOperandDisplay); -/* Fournit le commentaire associé à un signet. */ -const char *g_db_switcher_get_comment(const GDbSwitcher *); +/* Fournit l'adresse associée à une bascule. */ +const vmpa2t *g_db_switcher_get_address(const GDbSwitcher *); + +/* Fournit le chemin menant vers l'opérande basculé. */ +const char *g_db_switcher_get_path(const GDbSwitcher *); + +/* Indique l'affichage vers lequel un opérande a basculé. */ +ImmOperandDisplay g_db_switcher_get_display(const GDbSwitcher *); -/* Définit le commentaire associé à un signet. */ -void g_db_switcher_set_comment(GDbSwitcher *, const char *); -#endif /* ---------------------- DEFINITION DE LA COLLECTION ASSOCIEE ---------------------- */ |