summaryrefslogtreecommitdiff
path: root/src/gtkext/dockstation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/dockstation.h')
-rw-r--r--src/gtkext/dockstation.h36
1 files changed, 28 insertions, 8 deletions
diff --git a/src/gtkext/dockstation.h b/src/gtkext/dockstation.h
index f286c1c..a857626 100644
--- a/src/gtkext/dockstation.h
+++ b/src/gtkext/dockstation.h
@@ -1,8 +1,8 @@
/* Chrysalide - Outil d'analyse de fichiers binaires
- * gtkdockstation.h - prototypes pour la manipulation et l'affichage de composants rassemblés
+ * dockstation.h - prototypes pour la manipulation et l'affichage de composants rassemblés
*
- * Copyright (C) 2012-2018 Cyrille Bagard
+ * Copyright (C) 2012-2024 Cyrille Bagard
*
* This file is part of Chrysalide.
*
@@ -21,13 +21,35 @@
*/
-#ifndef _GTKEXT_GTKDOCKSTATION_H
-#define _GTKEXT_GTKDOCKSTATION_H
+#ifndef _GTKEXT_DOCKSTATION_H
+#define _GTKEXT_DOCKSTATION_H
#include <gtk/gtk.h>
+#include "../glibext/helpers.h"
+
+
+
+#define GTK_TYPE_DOCK_STATION (gtk_dock_station_get_type())
+
+DECLARE_GTYPE(GtkDockStation, gtk_dock_station, GTK, DOCK_STATION);
+
+
+/* Crée un nouveau composant pour support d'affichage concentré. */
+GtkWidget *gtk_dock_station_new(void);
+
+
+
+
+
+
+#if 0
+
+#include <gtk/gtk.h>
+
+
#include "gtkdockable.h"
@@ -76,9 +98,6 @@ struct _GtkDockStationClass
/* Détermine le type du composant d'affichage concentré. */
GType gtk_dock_station_get_type(void);
-/* Crée un nouveau composant pour support d'affichage concentré. */
-GtkWidget *gtk_dock_station_new(void);
-
/* Ajoute un paquet d'informations à l'affichage centralisé. */
void gtk_dock_station_add_dockable(GtkDockStation *, GtkDockable *);
@@ -92,6 +111,7 @@ void gtk_dock_station_remove_dockable(GtkDockStation *, GtkDockable *);
//G_END_DECLS
+#endif
-#endif /* _GTKEXT_GTKDOCKSTATION_H */
+#endif /* _GTKEXT_DOCKSTATION_H */