Website Summary Files Commits Branches @commit @diff @stats
path: root / src
diff options
context:
space:
mode:
Commit7e3b6dd4b963a3abc29452fe2eb2647a517371c0 (patch)
Author
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-02 20:45:18 +0300
Committer
 Syndamia <kamen.d.mladenov@protonmail.com>
2022-05-02 20:45:18 +0300
Files26410261bdcf1b27488901b5bdc4c63afe9ea572 /src
FMI-OOP-P1_TicketSystem-7e3b6dd4b963a3abc29452fe2eb2647a517371c0.tar
FMI-OOP-P1_TicketSystem-7e3b6dd4b963a3abc29452fe2eb2647a517371c0.tar.gz
FMI-OOP-P1_TicketSystem-7e3b6dd4b963a3abc29452fe2eb2647a517371c0.zip
Parent4fca15204d66e726521f3b4a445276901055d3e0 (diff)
Autocommit at 02.05.2022 @ 20:45
3 files changed, 5 insertions, 0 deletions
-rw-r--r--src/.!lazygit.swobin24576 -> 24576 bytes
-rw-r--r--src/EventSystem/Event.cpp4
-rw-r--r--src/List/List.h1
diff --git a/src/.!lazygit.swo b/src/.!lazygit.swo
index 1e09fb7..3145500 100644
--- a/src/.!lazygit.swo
+++ b/src/.!lazygit.swo
Binary files differ
diff --git a/src/EventSystem/Event.cpp b/src/EventSystem/Event.cpp
index 70ed51a..7c4db9e 100644
--- a/src/EventSystem/Event.cpp
+++ b/src/EventSystem/Event.cpp
@@ -14,3 +14,7 @@ StatusCode Event::reserveTicket(const Ticket& ticket, const char* password, cons
reservations.add(Reservation(ticket, password, note));
return Success;
}
+
+StatusCode Event::cancelReservation(const Ticket& ticket) {
+
+}
diff --git a/src/List/List.h b/src/List/List.h
index 377cbf0..d2e4280 100644
--- a/src/List/List.h
+++ b/src/List/List.h
@@ -17,6 +17,7 @@ class List {
public:
List(const T* elements, unsigned elementsCount);
void add(const T& element);
+ bool insertAt(const T& element);
bool removeAt(unsigned index);
T& operator[](unsigned index);
const T& operator[](unsigned index) const;