core: move divesite_has_gps_information() to struct dive_site

Seems logical in a C++ code base.

Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
Berthold Stoeger 2024-06-30 17:38:36 +02:00 committed by bstoeger
parent c812dd140b
commit 0aa4efb3d9
14 changed files with 20 additions and 21 deletions

View file

@ -26,6 +26,7 @@ struct dive_site
size_t nr_of_dives() const;
bool is_selected() const;
bool is_empty() const;
bool has_gps_location() const;
void merge(struct dive_site &b); // Note: b is consumed
void add_dive(struct dive *d);
};