diff options
author | Berthold Stoeger <bstoeger@mail.tuwien.ac.at> | 2020-10-25 13:28:55 +0100 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2020-10-25 13:59:52 -0700 |
commit | 0e196310f9cda2ccca27e9cf96186639b5658249 (patch) | |
tree | f53ee1f276774aa85b6bbe7015a302aa33339eb6 /profile-widget/diveeventitem.cpp | |
parent | 4aa571d5a09e7c114633dc046bb8a61044a05d63 (diff) | |
download | subsurface-0e196310f9cda2ccca27e9cf96186639b5658249.tar.gz |
cleanup: split out divecomputer functions from dive.c
Since dive.c is so huge, split out divecomputer-related functions
into divecomputer.[c|h], sample.[c|h] and extradata.[c|h].
This does not give huge compile time improvements, since
struct dive contains a struct divecomputer and therefore
dive.h has to include divecomputer.h. However, it make things
distinctly more clear.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'profile-widget/diveeventitem.cpp')
-rw-r--r-- | profile-widget/diveeventitem.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/profile-widget/diveeventitem.cpp b/profile-widget/diveeventitem.cpp index 33f909ecc..26ee346ff 100644 --- a/profile-widget/diveeventitem.cpp +++ b/profile-widget/diveeventitem.cpp @@ -9,6 +9,7 @@ #include "core/gettextfromc.h" #include "core/metrics.h" #include "core/membuffer.h" +#include "core/sample.h" #include "core/subsurface-string.h" #define DEPTH_NOT_FOUND (-2342) |