diff options
Diffstat (limited to 'src/glibext/glinecursor-int.h')
-rw-r--r-- | src/glibext/glinecursor-int.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/glibext/glinecursor-int.h b/src/glibext/glinecursor-int.h index b38e22e..18ec147 100644 --- a/src/glibext/glinecursor-int.h +++ b/src/glibext/glinecursor-int.h @@ -26,6 +26,7 @@ #include "glinecursor.h" +#include "../gtkext/gtkstatusstack.h" @@ -35,12 +36,15 @@ typedef GLineCursor * (* duplicate_cursor_fc) (const GLineCursor *); /* Compare deux suivis d'emplacements. */ typedef int (* compare_cursor_fc) (const GLineCursor *, const GLineCursor *); -/* Détermine si un suivi d'emplacement est valide ou non. */ +/* Détermine si la position de suivi est pertinente ou non. */ typedef bool (* is_cursor_valid_fc) (const GLineCursor *); /* Construit une étiquette de représentation d'un suivi. */ typedef char * (* build_cursor_label_fc) (const GLineCursor *); +/* Affiche une position dans une barre de statut. */ +typedef void (* show_cursor_status_fc) (const GLineCursor *, GtkStatusStack *, GLoadedContent *); + /* Exporte la définition d'un emplacement dans un flux réseau. */ typedef bool (* serialize_cursor_fc) (const GLineCursor *, packed_buffer *); @@ -76,6 +80,7 @@ struct _GLineCursorClass compare_cursor_fc compare; /* Comparaison d'emplacements */ is_cursor_valid_fc is_valid; /* Certificat de validité */ build_cursor_label_fc build_label; /* Obtention d'une étiquette */ + show_cursor_status_fc show_status; /* Affichage dans une barre */ serialize_cursor_fc serialize; /* Sauvegarde d'un emplacement */ unserialize_cursor_fc unserialize; /* Chargement d'un emplacement */ |