From 9b02342369418f86f5c9a5e6aea68eb3c9e7d936 Mon Sep 17 00:00:00 2001 From: iutbgdin Date: Wed, 18 Jun 2025 14:34:53 +0200 Subject: [PATCH] initialise path.h --- path.h | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 path.h diff --git a/path.h b/path.h new file mode 100644 index 0000000..52ec154 --- /dev/null +++ b/path.h @@ -0,0 +1,23 @@ +#ifndef PATH_H +#define PATH_H + +#include + +class Path +{ +private: + QString city; + int departement; + QString name; + unsigned int difficulty; + float duration; + float length; + QString image; + QList step; +public: + Path(); + Path(QFile *file); + void addStep(); +}; + +#endif // PATH_H