diff options
Diffstat (limited to 'core/selection.h')
-rw-r--r-- | core/selection.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/selection.h b/core/selection.h index beab31eaf..713e1b229 100644 --- a/core/selection.h +++ b/core/selection.h @@ -23,6 +23,7 @@ extern void select_newest_visible_dive(); extern void select_single_dive(struct dive *d); // wrapper for setSelection() with a single dive. NULL clears the selection. extern void select_trip(struct dive_trip *trip); extern void deselect_trip(struct dive_trip *trip); +extern struct dive_trip *single_selected_trip(); // returns trip if exactly one trip is selected, NULL otherwise. extern void clear_selection(void); #if DEBUG_SELECTION_TRACKING |