aboutsummaryrefslogtreecommitdiffstats
path: root/statistics.h
diff options
context:
space:
mode:
authorGravatar Miika Turkia <miika.turkia@gmail.com>2013-11-24 03:09:34 +0200
committerGravatar Dirk Hohndel <dirk@hohndel.org>2013-11-23 22:07:18 -0800
commitce525bd28518cc3c625b5e005bc7eb5e3c460c29 (patch)
treea8d09fd1b88b9bb8e9e674a9ca70042d59f5e65e /statistics.h
parent66cdb3689a3bac0a56d9d8d38c01379fa4c3fda9 (diff)
downloadsubsurface-ce525bd28518cc3c625b5e005bc7eb5e3c460c29.tar.gz
Adding trip based statistics
This adds trip based statistics to the Yearly Statistics view. Signed-off-by: Miika Turkia <miika.turkia@nixu.fi> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'statistics.h')
-rw-r--r--statistics.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/statistics.h b/statistics.h
index 47fd24d3c..5f6e306c4 100644
--- a/statistics.h
+++ b/statistics.h
@@ -31,10 +31,13 @@ typedef struct {
unsigned int selection_size;
unsigned int total_sac_time;
bool is_year;
+ bool is_trip;
+ char *location;
} stats_t;
extern stats_t stats_selection;
extern stats_t *stats_yearly;
extern stats_t *stats_monthly;
+extern stats_t *stats_by_trip;
extern char *get_time_string(int seconds, int maxdays);
extern char *get_minutes(int seconds);