Support Garmin Training Center Export Files

GTC will export all rides as a single TCX file so they
can be imported en-masse into another application.

We did not support >1 rides in a single ride file. This
patch adds support for reading multiple rides (if the ride
file reader supports it).

The ride import wizard will now extract and parse files from
a GTC export.  Many thanks to Damien for writing the TCX file writer.

Fixes #371.
This commit is contained in:
Mark Liversedge
2011-08-05 20:53:13 +01:00
parent d03038ff1c
commit a1fa22149a
46 changed files with 163 additions and 54 deletions

View File

@@ -32,7 +32,7 @@ static int srdFileReaderRegistered =
RideFileFactory::instance().registerReader(
"srd", "Polar SRD files", new SrdFileReader());
RideFile *SrdFileReader::openRideFile(QFile &file, QStringList &errorStrings) const
RideFile *SrdFileReader::openRideFile(QFile &file, QStringList &errorStrings, QList<RideFile*>*) const
{
workout_t * w;
S710_Filter filter = S710_FILTER_OFF;