X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=divelist.h;h=7684a72d3e8e8d337666971b4cbe676c3f74f62f;hb=76a732fe747125e96c913fe71daa2ef260e9d0ad;hp=da3bfc96bc02d0996143eb526399c70f20431fa7;hpb=378ac0d44a7867a01cc8a23c05243cea53bab5de;p=ext%2Fsubsurface.git diff --git a/divelist.h b/divelist.h index da3bfc9..7684a72 100644 --- a/divelist.h +++ b/divelist.h @@ -1,19 +1,10 @@ #ifndef DIVELIST_H #define DIVELIST_H -#include +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