mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
f459c2ec22
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>
12 lines
262 B
C
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
|