X-Git-Url: https://www.flypig.org.uk/git/?p=harbour-pedalo.git;a=blobdiff_plain;f=src%2Fjourney.h;fp=src%2Fjourney.h;h=45393b378b8dc0fb5aee837e08f4a4c34c05d3af;hp=0000000000000000000000000000000000000000;hb=0108947ead4cc9e0ff23fee82db2fb1fd7cb2dad;hpb=ad970e5488e00f84c984a7c0fee09c089d8fe5d1 diff --git a/src/journey.h b/src/journey.h new file mode 100644 index 0000000..45393b3 --- /dev/null +++ b/src/journey.h @@ -0,0 +1,31 @@ +#ifndef JOURNEY_H +#define JOURNEY_H + +#include +#include + +class Journey +{ +public: + Journey(); + Journey(quint64 start, quint32 duration, quint32 overtook, quint32 overtakenby); + + quint64 getStart () const; + qint32 getDuration () const; + qint32 getOvertook () const; + qint32 getOvertakenBy () const; + + void setStart (const quint64 value); + void setDuration (qint32 value); + void setOvertook (qint32 value); + void setOvertakenBy (qint32 value); + +private: + quint64 start; + quint32 duration; + quint32 overtook; + quint32 overtakenby; +}; + + +#endif // JOURNEY_H