From 0e196310f9cda2ccca27e9cf96186639b5658249 Mon Sep 17 00:00:00 2001 From: Berthold Stoeger Date: Sun, 25 Oct 2020 13:28:55 +0100 Subject: 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 --- packaging/ios/Subsurface-mobile.pro | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'packaging') diff --git a/packaging/ios/Subsurface-mobile.pro b/packaging/ios/Subsurface-mobile.pro index 605bce4cd..0c922e3b6 100644 --- a/packaging/ios/Subsurface-mobile.pro +++ b/packaging/ios/Subsurface-mobile.pro @@ -55,6 +55,7 @@ SOURCES += ../../subsurface-mobile-main.cpp \ ../../core/profile.c \ ../../core/device.cpp \ ../../core/dive.c \ + ../../core/divecomputer.c \ ../../core/divefilter.cpp \ ../../core/event.c \ ../../core/filterconstraint.cpp \ @@ -69,6 +70,7 @@ SOURCES += ../../subsurface-mobile-main.cpp \ ../../core/parse.c \ ../../core/picture.c \ ../../core/pictureobj.cpp \ + ../../core/sample.c \ ../../core/import-suunto.c \ ../../core/import-shearwater.c \ ../../core/import-seac.c \ @@ -205,7 +207,9 @@ HEADERS += \ ../../core/device.h \ ../../core/devicedetails.h \ ../../core/dive.h \ + ../../core/divecomputer.h \ ../../core/event.h \ + ../../core/extradata.h \ ../../core/git-access.h \ ../../core/gpslocation.h \ ../../core/imagedownloader.h \ @@ -242,6 +246,7 @@ HEADERS += \ ../../core/membuffer.h \ ../../core/metrics.h \ ../../core/qt-gui.h \ + ../../core/sample.h \ ../../core/selection.h \ ../../core/sha1.h \ ../../core/strndup.h \ -- cgit v1.2.3-70-g09d2