diff options
author | Tomaz Canabrava <tomaz.canabrava@intel.com> | 2014-05-12 13:53:26 -0300 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2014-05-13 09:20:28 +0900 |
commit | 6ab05563b3c6564d0a5e88edd8b23cb149a1eb6f (patch) | |
tree | 4288464488fcb9119d3648664766cf8b9c7350d5 /helpers.h | |
parent | 2b06e4be671930bc22feb830f328871a31315d9f (diff) | |
download | subsurface-6ab05563b3c6564d0a5e88edd8b23cb149a1eb6f.tar.gz |
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 <tomaz.canabrava@intel.com>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'helpers.h')
-rw-r--r-- | helpers.h | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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__ |