mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Continue to separate Gtk related code from core logic: divelist
Move some more logic out of the divelist-gtk.c file. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
983a77780c
commit
07c08eafac
3 changed files with 77 additions and 55 deletions
|
|
@ -19,7 +19,9 @@ extern void export_all_dives_uddf_cb();
|
|||
|
||||
/* divelist core logic functions */
|
||||
extern dive_trip_t *find_trip_by_idx(int idx);
|
||||
extern int dive_nr_sort(int idx_a, int idx_b, timestamp_t when_a, timestamp_t when_b);
|
||||
extern int trip_has_selected_dives(dive_trip_t *trip);
|
||||
extern void get_depth_values(int depth, int *depth_int, int *depth_decimal, int *show_decimal);
|
||||
extern void get_dive_gas(struct dive *dive, int *o2_p, int *he_p, int *o2low_p);
|
||||
extern int get_divenr(struct dive *dive);
|
||||
extern void get_location(struct dive *dive, char **str);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue