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

#include "String.h"

class AirTravel {
	String flightNumber;
	unsigned duration;

public:
	AirTravel();
	AirTravel(const char* flightNumber, unsigned duration);

	String getFlightNumber() const;
	unsigned getDuration() const;
};

#endif