#pragma once #include #include // NOLINTNEXTLINE(cppcoreguidelines-special-member-functions) class IUserInputObserver { public: using Key = char; virtual ~IUserInputObserver() noexcept = default; virtual void listen() noexcept = 0; virtual auto get_currently_pressed_key() noexcept -> Key = 0; };