Summary Files Commits Branches @commit @diff @stats
path: root / Year 1 / Object-oriented Programming / Exam 2 / ex1 / CarTravel.h
blob: b483d66e9c5539ab2ceb81f47629555c5ee79b58 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef HEADER_CARTRAVEL
#define HEADER_CARTRAVEL

#include "RegistryNumber.h"

class CarTravel {
	RegNumb regNumb;
	unsigned distance;
	unsigned duration;

public:
	CarTravel();
	CarTravel(RegNumb regNumber, unsigned distance, unsigned duration);

	RegNumb getRegNumb() const;
	unsigned getDistance() const;
	unsigned getDuration() const;
};

#endif