Merge branch 'feature/Path' into 'main'
initialise path.h See merge request p2406187/sae201!1
This commit is contained in:
commit
148e774c83
23
path.h
Normal file
23
path.h
Normal file
@ -0,0 +1,23 @@
|
|||||||
|
#ifndef PATH_H
|
||||||
|
#define PATH_H
|
||||||
|
|
||||||
|
#include <QMainWindow>
|
||||||
|
|
||||||
|
class Path
|
||||||
|
{
|
||||||
|
private:
|
||||||
|
QString city;
|
||||||
|
int departement;
|
||||||
|
QString name;
|
||||||
|
unsigned int difficulty;
|
||||||
|
float duration;
|
||||||
|
float length;
|
||||||
|
QString image;
|
||||||
|
QList<Step> step;
|
||||||
|
public:
|
||||||
|
Path();
|
||||||
|
Path(QFile *file);
|
||||||
|
void addStep();
|
||||||
|
};
|
||||||
|
|
||||||
|
#endif // PATH_H
|
||||||
Loading…
x
Reference in New Issue
Block a user