diff options
author | 2020-02-08 10:21:30 +0100 | |
---|---|---|
committer | 2020-02-08 10:29:36 -0800 | |
commit | 641ca47fd5e53cdddb01d3ee127274012fa5a9cb (patch) | |
tree | e8d057babbbbc387d6c784d50883cb63e4d32aa9 /backend-shared/divesummary.h | |
parent | 6c7411c776597d46074247923137965e2216b732 (diff) | |
download | subsurface-641ca47fd5e53cdddb01d3ee127274012fa5a9cb.tar.gz |
mobile/summary: remove backend-share/divesummary.[h|cpp]
These were replaced by a model.
Signed-off-by: Berthold Stoeger <bstoeger@mail.tuwien.ac.at>
Diffstat (limited to 'backend-shared/divesummary.h')
-rw-r--r-- | backend-shared/divesummary.h | 29 |
1 files changed, 0 insertions, 29 deletions
diff --git a/backend-shared/divesummary.h b/backend-shared/divesummary.h deleted file mode 100644 index a477bb0a3..000000000 --- a/backend-shared/divesummary.h +++ /dev/null @@ -1,29 +0,0 @@ -// SPDX-License-Identifier: GPL-2.0 -#ifndef DIVESUMMARY_H -#define DIVESUMMARY_H -#include <QStringList> -#include "core/dive.h" - - -class diveSummary { - -public: - static void summaryCalculation(int primaryPeriod, int secondaryPeriod); - - static QStringList diveSummaryText; - -private: - diveSummary() {} - - static void loopDives(timestamp_t primaryStart, timestamp_t secondaryStart); - static void calculateDive(int inx, struct dive *dive); - static void buildStringList(int inx); - - static timestamp_t firstDive, lastDive; - static int dives[2], divesEAN[2], divesDeep[2], diveplans[2]; - static long divetime[2], depth[2]; - static long divetimeMax[2], depthMax[2], sacMin[2], sacMax[2]; - static long divetimeAvg[2], depthAvg[2], sacAvg[2]; - static long totalSACTime[2], totalSacVolume[2]; -}; -#endif // DIVESUMMARY_H |