From 6ab05563b3c6564d0a5e88edd8b23cb149a1eb6f Mon Sep 17 00:00:00 2001 From: Tomaz Canabrava Date: Mon, 12 May 2014 13:53:26 -0300 Subject: Move DiveList related methods/classes to own file. The DiveList classes were a partial mess (and some of it is still in a messy state). The classes that deal with it where done in 'qtHelpers.h', the extern global variable in dive.h, a few methods here and there. This concentrates most - but not all - functions in their own file. The reason for that is to make the new developer faster when looking for things: if it's a divecomputer related method, it should be in a single file, not scattered around. Signed-off-by: Tomaz Canabrava Signed-off-by: Dirk Hohndel --- helpers.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'helpers.h') diff --git a/helpers.h b/helpers.h index fcc3be619..e4bc1c6b4 100644 --- a/helpers.h +++ b/helpers.h @@ -33,8 +33,6 @@ QString get_dive_date_string(timestamp_t when); QString get_short_dive_date_string(timestamp_t when); QString get_trip_date_string(timestamp_t when, int nr); -extern DiveComputerList dcList; - #define M_OR_FT(_m, _f) ((prefs.units.length == units::METERS) ? ((_m) * 1000) : (feet_to_mm(_f))) #if defined __APPLE__ -- cgit v1.2.3-70-g09d2