aboutsummaryrefslogtreecommitdiff
path: root/Memento.h
diff options
context:
space:
mode:
authorLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 17:26:20 +0200
committerLoek Le Blansch <loek@pipeframe.xyz>2024-10-25 17:26:20 +0200
commitb31d7a677481b4a09168c43d203bfd6d7badf577 (patch)
tree13550fa7f33d21aea8a7b03981707db2c08fc9a2 /Memento.h
parentc9f5ac8722190efeb58fda1eec9e6160d5204127 (diff)
implement mementos snapshots
Diffstat (limited to 'Memento.h')
-rw-r--r--Memento.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/Memento.h b/Memento.h
new file mode 100644
index 0000000..0bc6c92
--- /dev/null
+++ b/Memento.h
@@ -0,0 +1,13 @@
+#pragma once
+
+#include <vector>
+#include <memory>
+
+class Memento {
+public:
+ Memento() = default;
+ virtual ~Memento() = default;
+};
+
+typedef std::vector<std::unique_ptr<Memento>> Memories;
+