consolidate all repos to one for archive
This commit is contained in:
29
semester_2/programiranje_2/naloga0402/Event.h
Normal file
29
semester_2/programiranje_2/naloga0402/Event.h
Normal file
@@ -0,0 +1,29 @@
|
||||
#ifndef NALOGA0402_EVENT_H
|
||||
#define NALOGA0402_EVENT_H
|
||||
|
||||
#include "Person.h"
|
||||
#include "Date.h"
|
||||
#include <vector>
|
||||
|
||||
class Event {
|
||||
private:
|
||||
std::string title, description;
|
||||
Person *presentor;
|
||||
Date date;
|
||||
std::vector<Person *> attendees;
|
||||
public:
|
||||
Event() = default;
|
||||
|
||||
Event(std::string title, std::string description, Person *presentor, unsigned int day, unsigned int month, unsigned int year);
|
||||
|
||||
~Event() = default;
|
||||
|
||||
void addAttendee(Person *person);
|
||||
|
||||
std::string toString();
|
||||
|
||||
unsigned int getNumberOfAttendees();
|
||||
};
|
||||
|
||||
|
||||
#endif //NALOGA0402_EVENT_H
|
||||
Reference in New Issue
Block a user