summaryrefslogtreecommitdiffstats
path: root/divelist.h
diff options
context:
space:
mode:
Diffstat (limited to 'divelist.h')
-rw-r--r--divelist.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h
new file mode 100644
index 000000000..dc573d770
--- /dev/null
+++ b/divelist.h
@@ -0,0 +1,18 @@
+#ifndef DIVELIST_H
+#define DIVELIST_H
+
+#include <gtk/gtk.h>
+
+struct DiveList {
+ GtkWidget *tree_view;
+ GtkWidget *container_widget;
+ GtkListStore *model;
+};
+
+extern int selected_dive;
+#define current_dive (get_dive(selected_dive))
+
+extern struct DiveList dive_list_create(void);
+extern void dive_list_update_dives(struct DiveList);
+
+#endif