subsurface/divelist.h
Dirk Hohndel f459c2ec22 Simplistic first attempt to get changes saved when quitting subsurface
Track whether things changed in the global dive_list

So far this actually works if changing dive info (but only if dive
selected was changed after the dive info was changed).

We are not tracking changes to the cylinder information, yet.

also remove the duplicate static dive_list

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
2011-09-21 11:28:36 -07:00

12 lines
262 B
C

#ifndef DIVELIST_H
#define DIVELIST_H
struct dive;
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