aboutsummaryrefslogtreecommitdiff
path: root/src/commands/toggle_pause.hpp
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2022-05-02 22:36:21 +0200
committerHampusM <hampus@hampusmat.com>2022-06-13 17:56:58 +0200
commitfb080f6fb911b1831c176a06259e384772541dd5 (patch)
treee18140e700cd974f84a5630f41fcb0b496b7e772 /src/commands/toggle_pause.hpp
parent40d02748924aa7c48b04cf948204d8dacdfbbc74 (diff)
refactor: seperate statusline related concerns
Diffstat (limited to 'src/commands/toggle_pause.hpp')
-rw-r--r--src/commands/toggle_pause.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/commands/toggle_pause.hpp b/src/commands/toggle_pause.hpp
index e243cc3..43502f8 100644
--- a/src/commands/toggle_pause.hpp
+++ b/src/commands/toggle_pause.hpp
@@ -2,7 +2,7 @@
#include "interfaces/command.hpp"
#include "interfaces/generation_tracker.hpp"
-#include "interfaces/statusline.hpp"
+#include "interfaces/status_manager.hpp"
#include <memory>
@@ -11,12 +11,12 @@ class TogglePauseCommand : public ICommand
public:
explicit TogglePauseCommand(
std::shared_ptr<IGenerationTracker> generation_tracker,
- std::shared_ptr<IStatusLine> statusline
+ std::shared_ptr<IStatusManager> status_manager
) noexcept;
void execute() noexcept override;
private:
std::shared_ptr<IGenerationTracker> _generation_tracker;
- std::shared_ptr<IStatusLine> _statusline;
+ std::shared_ptr<IStatusManager> _status_manager;
};