1
0
mirror of https://github.com/tumic0/GPXSee.git synced 2025-03-16 11:37:46 +01:00

Code cleanup

This commit is contained in:
Martin Tůma 2018-03-09 18:57:23 +01:00
parent bc881836ac
commit 60fcff7658
3 changed files with 13 additions and 14 deletions

View File

@ -23,13 +23,13 @@ static QHash<QString, Parser*> parsers()
{ {
QHash<QString, Parser*> hash; QHash<QString, Parser*> hash;
hash.insert("gpx", &gpx); hash.insert("gpx", &gpx);
hash.insert("tcx", &tcx); hash.insert("tcx", &tcx);
hash.insert("kml", &kml); hash.insert("kml", &kml);
hash.insert("fit", &fit); hash.insert("fit", &fit);
hash.insert("csv", &csv); hash.insert("csv", &csv);
hash.insert("igc", &igc); hash.insert("igc", &igc);
hash.insert("nmea", &nmea); hash.insert("nmea", &nmea);
return hash; return hash;
} }

View File

@ -87,8 +87,8 @@ public:
const LinearUnits &units() const {return _units;} const LinearUnits &units() const {return _units;}
private: private:
const GCS * _gcs; const GCS *_gcs;
CT *_ct; const CT *_ct;
LinearUnits _units; LinearUnits _units;
bool _geographic; bool _geographic;
}; };

View File

@ -3,11 +3,10 @@
#include "projection.h" #include "projection.h"
class UTM namespace UTM
{ {
public: int zone(const Coordinates &c);
static int zone(const Coordinates &c); Projection::Setup setup(int zone);
static Projection::Setup setup(int zone); }
};
#endif // UTM_H #endif // UTM_H