summaryrefslogtreecommitdiff
path: root/src/analysis/loaded-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2018-07-19 23:16:29 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2018-07-19 23:16:29 (GMT)
commit5093663eb4e4aa17edd97cbd864ccb4a3d48a803 (patch)
tree48192ae6b37e1803d78ed81f5658ad9d2756cfd1 /src/analysis/loaded-int.h
parent12abead3f60d6f72c0d41672af87215dfc13c8fc (diff)
Given their own structure to rendering options.
Diffstat (limited to 'src/analysis/loaded-int.h')
-rw-r--r--src/analysis/loaded-int.h10
1 files changed, 2 insertions, 8 deletions
diff --git a/src/analysis/loaded-int.h b/src/analysis/loaded-int.h
index 7d4bb19..044dad7 100644
--- a/src/analysis/loaded-int.h
+++ b/src/analysis/loaded-int.h
@@ -58,10 +58,7 @@ typedef GtkWidget * (* build_loaded_view_fc) (GLoadedContent *, unsigned int);
typedef unsigned int (* get_loaded_view_index_fc) (GLoadedContent *, GtkWidget *);
/* Fournit toutes les options d'affichage pour un contenu. */
-typedef bool * const (* get_all_loaded_options_fc) (const GLoadedContent *, unsigned int);
-
-/* Définit une option d'affichage pour un contenu. */
-typedef bool ( * set_loaded_option_fc) (GLoadedContent *, unsigned int, unsigned int, bool);
+typedef GDisplayOptions * (* get_loaded_options_fc) (const GLoadedContent *, unsigned int);
/* Accès à un contenu binaire quelconque (interface) */
@@ -85,15 +82,12 @@ struct _GLoadedContentIface
build_loaded_view_fc build_view; /* Mise en place de vues */
get_loaded_view_index_fc get_view_index;/* Récupération d'indice de vue*/
- get_all_loaded_options_fc get_all_options; /* Obtention de liste brute*/
- set_loaded_option_fc set_option; /* Définition d'affichage */
+ get_loaded_options_fc get_options; /* Obtention de liste d'options*/
/* Signaux */
void (* analyzed) (GLoadedContent *, gboolean);
- void (* display_changed) (GLoadedContent *, unsigned int, unsigned int);
-
};