Files
sortui/src/steppable.hpp
T
lyrgb 273ff07a00 cleanup, timermanager in App is a dependency that takes timers again.
App now adds already constructed Timers
Timer is now an Invoker that takes a weak_ptr to a steppable with a
request()rather than a bool callback.
should eventually be changed to composition
2026-08-23 23:25:04 +02:00

15 lines
207 B
C++

#ifndef STEPPABLE_HPP
#define STEPPABLE_HPP
#include <cstddef>
class Steppable {
public:
virtual ~Steppable() = default;
bool is_finished = 0;
size_t stepcount = 0;
virtual void step() = 0;
};
#endif