X-Git-Url: http://git.tdb.fi/?a=blobdiff_plain;f=divelist.h;h=3151a69dbcab1453ab6c2fe523c2be922247ea01;hb=d5c86ebe3dd67397f0f61d57ae9c07d995c38728;hp=e0ab1137cc105627b681a28df57f62a4eb71581d;hpb=53ac61f23538b8d71a7eb579dd5fc585e71982ab;p=ext%2Fsubsurface.git diff --git a/divelist.h b/divelist.h index e0ab113..3151a69 100644 --- a/divelist.h +++ b/divelist.h @@ -1,19 +1,12 @@ #ifndef DIVELIST_H #define DIVELIST_H -#include +struct dive; -struct DiveList { - GtkWidget *tree_view; - GtkWidget *container_widget; - GtkListStore *model; - GtkTreeViewColumn *date, *depth, *duration, *location; - GtkTreeViewColumn *temperature, *nitrox, *sac; -}; - -extern struct DiveList dive_list; -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 *); +extern void mark_divelist_changed(int); +extern int unsaved_changes(void); #endif