diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-30 22:03:10 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-12-29 08:34:09 -0800 |
commit | 51d0c42a5c826350ba189abaf0f57ef1b35381f3 (patch) | |
tree | d7fdb9745661a78e8324d91b90b0a13dc028bdca /core/divelist.h | |
parent | 9e84fd935bd68ef667426d92f3c27b3aab58649a (diff) | |
download | subsurface-51d0c42a5c826350ba189abaf0f57ef1b35381f3.tar.gz |
filter: move shown_dive from divelist.c to divefilter.cpp
Arguably, the number of filtered dives is a matter of the divefilter.
Let's move it there.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/divelist.h')
-rw-r--r-- | core/divelist.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/core/divelist.h b/core/divelist.h index 8f58cda69..1a19a3e2a 100644 --- a/core/divelist.h +++ b/core/divelist.h @@ -13,7 +13,6 @@ struct trip_table; struct dive_site_table; struct device_table; struct deco_state; -extern int shown_dives; struct dive_table { int nr, allocated; @@ -53,7 +52,6 @@ extern void insert_dive(struct dive_table *table, struct dive *d); extern void get_dive_gas(const struct dive *dive, int *o2_p, int *he_p, int *o2low_p); extern int get_divenr(const struct dive *dive); extern int remove_dive(const struct dive *dive, struct dive_table *table); -extern bool filter_dive(struct dive *d, bool shown); /* returns true if status changed */ extern int get_dive_nr_at_idx(int idx); extern void set_dive_nr_for_current_dive(); extern timestamp_t get_surface_interval(timestamp_t when); |