36 lines
777 B
C++
36 lines
777 B
C++
#ifndef STEP_H
|
|
#define STEP_H
|
|
#include <QString>
|
|
#include <QTextStream>
|
|
#include <iostream>
|
|
#include <QJsonObject>
|
|
#include <QList>
|
|
using namespace std;
|
|
class Step
|
|
{
|
|
|
|
private:
|
|
QString title;
|
|
float latitude;
|
|
float longitude;
|
|
int response;
|
|
QList<QString> personnage;
|
|
QList<QString> texte;
|
|
|
|
public:
|
|
Step();
|
|
Step(QJsonObject &in);
|
|
void setLatitude(int degree,float minute,QChar NS);
|
|
void setLongitude(int degree,float minute,QChar EW);
|
|
QString getTitle() const;
|
|
float getLatitude() const;
|
|
float getLongitude() const;
|
|
int getResponse() const;
|
|
QList<QString> getPersonnage() const;
|
|
QList<QString> getTexte() const;
|
|
void setTitle(const QString &newTitle);
|
|
void setResponse(int newResponse);
|
|
};
|
|
|
|
#endif // STEP_H
|