YAAV of routedialog
[speedfreak] / Client / xmlwriter.h
index 89a6ad0..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,12 +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();
     void writeItems();
     void serverWritesXml();
-
 };
 
 #endif // XMLWRITER_H
+