igc.h
changeset 11 d927333c8ffe
parent 10 e1abdc480485
child 12 84b0f3ca474a
--- a/igc.h	Sun Jan 22 16:31:20 2012 +0100
+++ b/igc.h	Sun Jan 22 17:35:21 2012 +0100
@@ -3,6 +3,23 @@
 
 #include "pch.h"
 
+class Fix {
+  public: 
+    Fix(const QString&);
+  private:
+    QString theTime, valid;
+    struct {
+	QString lon;
+	QString lat;
+    } gps;
+    struct {
+	int press;
+	int gps;
+    } theAlt;
+};
+
+typedef QList<Fix> Fixes;
+
 class IGC {
   public:
     void read(QTextStream&);
@@ -11,6 +28,7 @@
   private:
     QString theAuthor, thePilot, theGlider;
     QStringList points;
+    Fixes fixes;
 
 };
 #endif