diff options
author | Dirk Hohndel <dirk@hohndel.org> | 2014-05-24 13:19:05 -0700 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-24 13:19:05 -0700 |
commit | dbb86374e00df9e06c4d96c436e3c3a998cc1ae9 (patch) | |
tree | a0895c7856570ef2764c7a0c6d18b420d9197201 /divelist.h | |
parent | 032ea241916549801cd656593821d43bb8fd9f55 (diff) | |
download | subsurface-dbb86374e00df9e06c4d96c436e3c3a998cc1ae9.tar.gz |
Dive list: move trip selection / deselection logic to divelist.c
This is core logic, not UI code.
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 57f62fa11..389a26930 100644 --- a/divelist.h +++ b/divelist.h @@ -30,6 +30,8 @@ extern struct dive *merge_two_dives(struct dive *a, struct dive *b); extern bool consecutive_selected(); extern void select_dive(int idx); extern void deselect_dive(int idx); +extern void select_dives_in_trip(struct dive_trip *trip); +extern void deselect_dives_in_trip(struct dive_trip *trip); extern void find_new_trip_start_time(dive_trip_t *trip); extern struct dive *first_selected_dive(); extern struct dive *last_selected_dive(); |