34 lines
694 B
C++
34 lines
694 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;
|
|
};
|
|
|
|
#endif // STEP_H
|