Merge branch 'fixing/MeasuresClass'
[speedfreak] / Client / xmlwriter.h
index e24a60a..80ff500 100644 (file)
 #include <QApplication>
 
 
-class XmlWriter : public QObject
-{
+class XmlWriter : public QObject {
+    Q_OBJECT
 public:
     XmlWriter();
     ~XmlWriter();
     int tmpvalue;
+    int trackInd;
 
 private:
     QXmlStreamWriter xmlwriter;
@@ -37,11 +38,13 @@ private:
 public slots:
     void writeRegistering(QBuffer *netbuf, QString usr, QString psswd, QString email);
     void writeResult(QBuffer *netbuf);
+    void writeGpsTrack(QBuffer *netbuf, double *ptrTable, int counter);
     bool writeXmlFile(QIODevice *device);
-    void writeXml(QString usr, QString psswd, QString email);
+    //void writeXml(QString usr, QString psswd, QString email);
+    void writeXml();
     void writeItems();
     void serverWritesXml();
-
 };
 
 #endif // XMLWRITER_H
+