summaryrefslogtreecommitdiffstats
path: root/divelist.h
diff options
context:
space:
mode:
authorGravatar Dirk Hohndel <dirk@hohndel.org>2013-04-06 21:28:03 -0700
committerGravatar Henrik Brautaset Aronsen <subsurface@henrik.synth.no>2013-04-07 17:37:09 +0200
commit07c08eafac3eccc9b7360011fd9a19904160351c (patch)
tree54f64d2b4043bca62832aba9fef170e11d34abca /divelist.h
parent983a77780c48f1f4ece425eade32663dd0e68f83 (diff)
downloadsubsurface-07c08eafac3eccc9b7360011fd9a19904160351c.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.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/divelist.h b/divelist.h
index 8c21e9b3d..8fcd600a1 100644
--- a/divelist.h
+++ b/divelist.h
@@ -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);