From a82a54f081ce561e6bc6e9f82869f8b40a47e660 Mon Sep 17 00:00:00 2001 From: Syndamia Date: Wed, 25 May 2022 19:59:16 +0300 Subject: Added my work from today's exam --- Year 1/Object-oriented Programming/Exam 2/ex2/SimpleEvent.h | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 Year 1/Object-oriented Programming/Exam 2/ex2/SimpleEvent.h (limited to 'Year 1/Object-oriented Programming/Exam 2/ex2/SimpleEvent.h') diff --git a/Year 1/Object-oriented Programming/Exam 2/ex2/SimpleEvent.h b/Year 1/Object-oriented Programming/Exam 2/ex2/SimpleEvent.h new file mode 100644 index 0000000..b98256d --- /dev/null +++ b/Year 1/Object-oriented Programming/Exam 2/ex2/SimpleEvent.h @@ -0,0 +1,8 @@ +#include "Event.h" + +class SimpleEvent : public Event { +public: + SimpleEvent(unsigned startTime, unsigned endTime); + + SimpleEvent* clone() const override; +}; -- cgit v1.3.1-26-gb76a