From c9297a82291882e4043ae5e0de2e631940e96b52 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 23 May 2022 19:08:02 +0200 Subject: feat: add incrementing generation --- src/interfaces/generation_tracker.hpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/interfaces') 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; -- cgit v1.2.3-18-g5258