blob: 4e053234bc02d6268dcb87629af20a8f6e69631e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
#pragma once
#include "interfaces/command.hpp"
#include "interfaces/generation_tracker.hpp"
#include "interfaces/statusline.hpp"
#include <memory>
class TogglePauseCommand : public ICommand
{
public:
explicit TogglePauseCommand(std::shared_ptr<IGenerationTracker> generation_tracker,
std::shared_ptr<IStatusLine> statusline) noexcept;
void execute() noexcept override;
private:
std::shared_ptr<IGenerationTracker> _generation_tracker;
std::shared_ptr<IStatusLine> _statusline;
};
|