Bugfix: accelerate send result.
[speedfreak] / Client / xmlwriter.h
index 80ff500..ac60175 100644 (file)
@@ -29,21 +29,18 @@ class XmlWriter : public QObject {
 public:
     XmlWriter();
     ~XmlWriter();
-    int tmpvalue;
-    int trackInd;
 
 private:
     QXmlStreamWriter xmlwriter;
 
 public slots:
     void writeRegistering(QBuffer *netbuf, QString usr, QString psswd, QString email);
-    void writeResult(QBuffer *netbuf);
-    void writeGpsTrack(QBuffer *netbuf, double *ptrTable, int counter);
+    void writeResult(QBuffer *netbuf, double result);
+    void writeGpsTrack(QBuffer *netbuf, int counter, int start, int stop, int lat, int lon, int alt, int speed, int time);
     bool writeXmlFile(QIODevice *device);
     //void writeXml(QString usr, QString psswd, QString email);
     void writeXml();
     void writeItems();
-    void serverWritesXml();
 };
 
 #endif // XMLWRITER_H