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/glibext/gloadedpanel-int.h | |
parent | 67b4887317b7394d63b543aa48cb368406374103 (diff) |
Created the GLoadedContent interface to load all kinds of content.
Diffstat (limited to 'src/glibext/gloadedpanel-int.h')
-rw-r--r-- | src/glibext/gloadedpanel-int.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/glibext/gloadedpanel-int.h b/src/glibext/gloadedpanel-int.h index 8686d1b..904041d 100644 --- a/src/glibext/gloadedpanel-int.h +++ b/src/glibext/gloadedpanel-int.h @@ -29,6 +29,12 @@ +/* Définit le contenu associé à un panneau de chargement. */ +typedef void (* set_loaded_panel_content_fc) (GLoadedPanel *, GLoadedContent *); + +/* Fournit le contenu associé à un panneau de chargement. */ +typedef GLoadedContent * (* get_loaded_panel_content_fc) (const GLoadedPanel *); + /* Place en cache un rendu destiné à l'aperçu graphique rapide. */ typedef void (* cache_loaded_glance_fc) (GLoadedPanel *, cairo_t *, const GtkAllocation *, double); @@ -38,6 +44,9 @@ struct _GLoadedPanelIface { GTypeInterface base_iface; /* A laisser en premier */ + set_loaded_panel_content_fc set_content;/* Définition du contenu */ + get_loaded_panel_content_fc get_content;/* Récupération du contenu */ + cache_loaded_glance_fc cache_glance; /* Cache de la mignature */ }; |