diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2019-07-15 23:44:39 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2019-07-18 05:42:55 -0700 |
commit | 8f119dcf72db445530b39e0722c3afad7c130efb (patch) | |
tree | f0e410011a4f476b4115929dd7062646a46ccc0b /core/qthelper.h | |
parent | 0136d76cf4fd5c62f4224d2d721fce2b78097104 (diff) | |
download | subsurface-8f119dcf72db445530b39e0722c3afad7c130efb.tar.gz |
Cleanup: remove includes from qthelper.h
To reduce interdependencies, remove the dive.h and divelist.h
includes in qthelper.h
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'core/qthelper.h')
-rw-r--r-- | core/qthelper.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/core/qthelper.h b/core/qthelper.h index 685525a70..74185b467 100644 --- a/core/qthelper.h +++ b/core/qthelper.h @@ -5,8 +5,9 @@ #include <stdint.h> #include <libxslt/transform.h> #include <libxslt/xsltutils.h> -#include "dive.h" -#include "divelist.h" +#include "core/pref.h" + +struct picture; // 1) Types @@ -26,7 +27,7 @@ QString distance_string(int distanceInMeters); bool gpsHasChanged(struct dive *dive, struct dive *master, const QString &gps_text, bool *parsed_out = 0); 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_divepoint_gas_string(struct dive *d, const struct divedatapoint &dp); QString get_taglist_string(struct tag_entry *tag_list); void read_hashes(); void write_hashes(); |