]> git.tdb.fi Git - ext/subsurface.git/blob - divelist.h
Update the divelist when dive info changes
[ext/subsurface.git] / divelist.h
1 #ifndef DIVELIST_H
2 #define DIVELIST_H
3
4 #include <gtk/gtk.h>
5
6 struct DiveList {
7         GtkWidget    *tree_view;
8         GtkWidget    *container_widget;
9         GtkListStore *model;
10         GtkTreeViewColumn *date, *depth, *duration, *location;
11         GtkTreeViewColumn *temperature, *nitrox, *sac;
12 };
13
14 struct dive;
15
16 extern struct DiveList dive_list;
17 extern struct DiveList dive_list_create(void);
18 extern void dive_list_update_dives(struct DiveList);
19 extern void update_dive_list_units(struct DiveList *);
20 extern void flush_divelist(struct DiveList *, struct dive *);
21
22 #endif