diff options
author | HampusM <hampus@hampusmat.com> | 2022-05-23 19:08:02 +0200 |
---|---|---|
committer | HampusM <hampus@hampusmat.com> | 2022-06-13 17:56:59 +0200 |
commit | c9297a82291882e4043ae5e0de2e631940e96b52 (patch) | |
tree | 77caa40174ebef3b77ff81a404930d18e8ac46ef /src/interfaces | |
parent | 18e1db1fb8692752f64d3912c3b5ff1818be9028 (diff) |
feat: add incrementing generation
Diffstat (limited to 'src/interfaces')
-rw-r--r-- | src/interfaces/generation_tracker.hpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/interfaces/generation_tracker.hpp b/src/interfaces/generation_tracker.hpp index ca2e36b..c3f6a7e 100644 --- a/src/interfaces/generation_tracker.hpp +++ b/src/interfaces/generation_tracker.hpp @@ -13,6 +13,8 @@ public: [[nodiscard]] virtual auto get_current_generation() const noexcept -> uint32_t = 0; + virtual void set_current_generation(uint32_t current_generation) noexcept = 0; + [[nodiscard]] virtual auto get_is_paused() const noexcept -> bool = 0; virtual void set_is_paused(bool is_paused) noexcept = 0; |