aboutsummaryrefslogtreecommitdiffstats
path: root/equipment.c
diff options
context:
space:
mode:
Diffstat (limited to 'equipment.c')
-rw-r--r--equipment.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/equipment.c b/equipment.c
index b9b9259b5..1e0721b9a 100644
--- a/equipment.c
+++ b/equipment.c
@@ -1,3 +1,13 @@
+/* equipment.c */
+/* creates the UI for the equipment page -
+ * controlled through the following interfaces:
+ *
+ * void show_dive_equipment(struct dive *dive)
+ * void flush_dive_equipment_changes(struct dive *dive)
+ *
+ * called from gtk-ui:
+ * GtkWidget *equipment_widget(void)
+ */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
@@ -6,6 +16,7 @@
#include "dive.h"
#include "display.h"
+#include "display-gtk.h"
#include "divelist.h"
struct cylinder_widget {