projects
/
speedfreak
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Youtube video and text (draft).
[speedfreak]
/
Client
/
xmlwriter.h
diff --git
a/Client/xmlwriter.h
b/Client/xmlwriter.h
index
34bf284
..
ac60175
100644
(file)
--- a/
Client/xmlwriter.h
+++ b/
Client/xmlwriter.h
@@
-29,33
+29,18
@@
class XmlWriter : public QObject {
public:
XmlWriter();
~XmlWriter();
public:
XmlWriter();
~XmlWriter();
- int tmpvalue;
- typedef struct {
- double time;
- double latitude;
- double longitude;
- double altitude;
- double speed;
- double track;
- } gpsPoint;
- gpsPoint trackTable[100];
- gpsPoint analyzeTable[100];
- int trackInd;
private:
QXmlStreamWriter xmlwriter;
public slots:
void writeRegistering(QBuffer *netbuf, QString usr, QString psswd, QString email);
private:
QXmlStreamWriter xmlwriter;
public slots:
void writeRegistering(QBuffer *netbuf, QString usr, QString psswd, QString email);
- void writeResult(QBuffer *netbuf);
+ 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();
bool writeXmlFile(QIODevice *device);
//void writeXml(QString usr, QString psswd, QString email);
void writeXml();
void writeItems();
- void serverWritesXml();
- void writeGpsTrack(int startInd, int stopInd);
- void initPointTable(gpsPoint *table, int count, double add1, int add2, int add3);
- void analyzeGpsData();
};
#endif // XMLWRITER_H
};
#endif // XMLWRITER_H