20 lines
431 B
C++
Executable File
20 lines
431 B
C++
Executable File
#ifndef MARKERHELPER_H
|
|
#define MARKERHELPER_H
|
|
|
|
#include <qnetworkaccessmanager.h>
|
|
#include <qobject.h>
|
|
class MarkerHelper : public QObject
|
|
{
|
|
Q_OBJECT
|
|
public:
|
|
MarkerHelper();
|
|
|
|
Q_INVOKABLE void postObject(QString replayId, int id, double lat, double lng, QString status, QString partie);
|
|
Q_INVOKABLE void startSimulation(QString replayId);
|
|
|
|
private:
|
|
QNetworkAccessManager *m_manager;
|
|
};
|
|
|
|
#endif // MARKERHELPER_H
|