]> git.tdb.fi Git - ext/subsurface.git/blobdiff - divelist.h
Add helper function for doing depth unit calculations
[ext/subsurface.git] / divelist.h
index da3bfc96bc02d0996143eb526399c70f20431fa7..7684a72d3e8e8d337666971b4cbe676c3f74f62f 100644 (file)
@@ -1,19 +1,10 @@
 #ifndef DIVELIST_H
 #define DIVELIST_H
 
-#include <gtk/gtk.h>
+struct dive;
 
-struct DiveList {
-       GtkWidget    *tree_view;
-       GtkWidget    *container_widget;
-       GtkListStore *model;
-       GtkTreeViewColumn *date, *depth, *duration;
-};
-
-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);
+extern void dive_list_update_dives(void);
+extern void update_dive_list_units(void);
+extern void flush_divelist(struct dive *);
 
 #endif