summaryrefslogtreecommitdiff
path: root/src/analysis/loaded-int.h
diff options
context:
space:
mode:
authorCyrille Bagard <nocbos@gmail.com>2022-12-29 11:02:46 (GMT)
committerCyrille Bagard <nocbos@gmail.com>2022-12-29 11:02:46 (GMT)
commit41db261acccf3494aa93b71a181cde9e8605a841 (patch)
tree07a00f88920a8e601268d415131630052ef85988 /src/analysis/loaded-int.h
parentc27f884ec1d18d9cff0d19d6ba8de1dd54d991c4 (diff)
Refactor Makefiles to exclude GTK on demand.
Diffstat (limited to 'src/analysis/loaded-int.h')
-rw-r--r--src/analysis/loaded-int.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/analysis/loaded-int.h b/src/analysis/loaded-int.h
index 62534a6..f91e85d 100644
--- a/src/analysis/loaded-int.h
+++ b/src/analysis/loaded-int.h
@@ -48,6 +48,8 @@ typedef bool (* analyze_loaded_fc) (GLoadedContent *, bool, bool, wgroup_id_t, G
/* Fournit le désignation associée à l'élément chargé. */
typedef char * (* describe_loaded_fc) (const GLoadedContent *, bool);
+#ifdef HAVE_GTK_SUPPORT
+
/* Détermine le nombre de vues disponibles pour un contenu. */
typedef unsigned int (* count_loaded_views_fc) (const GLoadedContent *);
@@ -66,6 +68,8 @@ typedef unsigned int (* get_loaded_view_index_fc) (GLoadedContent *, GtkWidget *
/* Fournit toutes les options d'affichage pour un contenu. */
typedef GDisplayOptions * (* get_loaded_options_fc) (const GLoadedContent *, unsigned int);
+#endif
+
/* Accès à un contenu binaire quelconque (instance) */
struct _GLoadedContent
@@ -91,6 +95,8 @@ struct _GLoadedContentClass
describe_loaded_fc describe; /* Description de contenu */
+#ifdef HAVE_GTK_SUPPORT
+
count_loaded_views_fc count_views; /* Compteur de vues */
get_loaded_view_name_fc get_view_name; /* Désignation d'une vue donnée*/
build_loaded_def_view_fc build_def_view;/* Mise en place initiale */
@@ -99,6 +105,8 @@ struct _GLoadedContentClass
get_loaded_options_fc get_options; /* Obtention de liste d'options*/
+#endif
+
/* Signaux */
void (* analyzed) (GLoadedContent *, gboolean);