mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Cleanup: move trip-related functions into own translation unit
These functions were spread out over dive.c and divelist.c. Move them into their own file to make all this a bit less monolithic. Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
This commit is contained in:
parent
f1c2cd375e
commit
7f4d9db962
45 changed files with 481 additions and 426 deletions
|
@ -24,7 +24,7 @@ enum inertgas {N2, HE};
|
|||
QString weight_string(int weight_in_grams);
|
||||
QString distance_string(int distanceInMeters);
|
||||
bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_text, bool *parsed_out = 0);
|
||||
QList<int> getDivesInTrip(dive_trip_t *trip);
|
||||
QList<int> getDivesInTrip(struct dive_trip *trip);
|
||||
QString get_gas_string(struct gasmix gas);
|
||||
QString get_divepoint_gas_string(struct dive *d, const divedatapoint& dp);
|
||||
QString get_taglist_string(struct tag_entry *tag_list);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue