mirror of
https://github.com/subsurface/subsurface.git
synced 2024-12-01 06:30:26 +00:00
0fd6907965
Instead, just keep track of the expanded state of trips as we get the gtk callbacks for the state changes (which we need to track anyway for the selection logic), and automatically restore the state whenever we re-create the divelist. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
18 lines
588 B
C
18 lines
588 B
C
#ifndef DIVELIST_H
|
|
#define DIVELIST_H
|
|
|
|
struct dive;
|
|
|
|
extern void dive_list_update_dives(void);
|
|
extern void update_dive_list_col_visibility(void);
|
|
extern void update_dive_list_units(void);
|
|
extern void flush_divelist(struct dive *);
|
|
extern void update_cylinder_related_info(struct dive *);
|
|
extern void mark_divelist_changed(int);
|
|
extern int unsaved_changes(void);
|
|
extern void remove_autogen_trips(void);
|
|
extern void select_next_dive(void);
|
|
extern void select_prev_dive(void);
|
|
extern void show_and_select_dive(struct dive *dive);
|
|
extern double init_decompression(struct dive * dive);
|
|
#endif
|