diff options
Diffstat (limited to 'src/gui/panels/panel-int.h')
-rw-r--r-- | src/gui/panels/panel-int.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/src/gui/panels/panel-int.h b/src/gui/panels/panel-int.h index 33b0746..d95485c 100644 --- a/src/gui/panels/panel-int.h +++ b/src/gui/panels/panel-int.h @@ -34,9 +34,13 @@ #include "../editem-int.h" #include "../../common/dllist.h" +#include "../../glibext/delayed-int.h" +/* ------------------------- BASE D'UN PANNEAU POUR EDITEUR ------------------------- */ + + /* Place un panneau dans l'ensemble affiché. */ typedef void (* ack_dock_process_fc) (GPanelItem *item); @@ -86,4 +90,29 @@ struct _GPanelItemClass +/* ---------------------------- AIDE POUR LA MISE A JOUR ---------------------------- */ + + +/* Procédure de mise à jour de panneau graphique (instance) */ +struct _GPanelUpdate +{ + GDelayedWork parent; /* A laisser en premier */ + + GPanelItem *panel; /* Panneau à manipuler */ + pu_fallback_cb internal; /* Traitement sous-traité */ + + const char *msg; /* Description de l'opération */ + size_t max; /* Nombre d'éléments à traiter */ + +}; + +/* Procédure de mise à jour de panneau graphique (classe) */ +struct _GPanelUpdateClass +{ + GDelayedWorkClass parent; /* A laisser en premier */ + +}; + + + #endif /* _GUI_PANELS_PANEL_INT_H */ |