diff options
Diffstat (limited to 'src/gui/tb/portions.h')
-rw-r--r-- | src/gui/tb/portions.h | 20 |
1 files changed, 19 insertions, 1 deletions
diff --git a/src/gui/tb/portions.h b/src/gui/tb/portions.h index 6f3c3b6..18e1f7d 100644 --- a/src/gui/tb/portions.h +++ b/src/gui/tb/portions.h @@ -26,10 +26,28 @@ #define _GUI_TB_PORTIONS_H -#include "../editem.h" +#include "tbitem.h" +#define G_TYPE_PORTIONS_TBITEM g_portions_tbitem_get_type() +#define G_PORTIONS_TBITEM(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), g_portions_tbitem_get_type(), GToolbarItem)) +#define G_IS_PORTIONS_TBITEM(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), g_portions_tbitem_get_type())) +#define G_PORTIONS_TBITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_CAST((klass), G_TYPE_PORTIONS_TBITEM, GToolbarItemClass)) +#define G_IS_PORTIONS_TBITEM_CLASS(klass) (G_TYPE_CHECK_CLASS_TYPE((klass), G_TYPE_PORTIONS_TBITEM)) +#define G_PORTIONS_TBITEM_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), G_TYPE_PORTIONS_TBITEM, GToolbarItemClass)) + + +/* Elément réactif présentant des portions de binaire (instance) */ +typedef struct _GPortionsTbItem GPortionsTbItem; + +/* Elément réactif présentant des portions de binaire (classe) */ +typedef struct _GPortionsTbItemClass GPortionsTbItemClass; + + +/* Indique le type défini pour un affichage de portions destiné à une barre d'outils. */ +GType g_portions_tbitem_get_type(void); + /* Crée une sélection de fichier réactive pour barre d'outils. */ GEditorItem *create_portions_tb_item(GObject *ref); |