diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2013-04-06 21:28:03 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2013-04-06 21:28:42 -0700 |
commit | 081000963a822c1a9814bf4eba3e9dd4485a2cf9 (patch) | |
tree | 29de215da759de5549a75e1057b0c73b0f53efc4 /divelist.h | |
parent | 1d61955be973cfcc67f4e82a65487721a9ae84b8 (diff) | |
download | subsurface-081000963a822c1a9814bf4eba3e9dd4485a2cf9.tar.gz |
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>
Diffstat (limited to 'divelist.h')
-rw-r--r-- | divelist.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h index 6a0b98bc9..4772f89d9 100644 --- a/divelist.h +++ b/divelist.h @@ -22,7 +22,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); |