X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=divelist.h;h=7684a72d3e8e8d337666971b4cbe676c3f74f62f;hb=924ad0e15e0fc5b39b743f393e445655c0b77881;hp=797a8964101c936ef43b3d131659574531902627;hpb=0c4e1697db2d9e15a05bc76056fca13e9ccb9ba4;p=ext%2Fsubsurface.git diff --git a/divelist.h b/divelist.h index 797a896..7684a72 100644 --- a/divelist.h +++ b/divelist.h @@ -1,17 +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 struct DiveList dive_list_create(void); -extern void dive_list_update_dives(struct DiveList); -extern void update_dive_list_units(struct DiveList *); +extern void dive_list_update_dives(void); +extern void update_dive_list_units(void); +extern void flush_divelist(struct dive *); #endif