diff --git a/include/Server/Components/Timers/timers.hpp b/include/Server/Components/Timers/timers.hpp index c3c76e4..6ab5ebe 100644 --- a/include/Server/Components/Timers/timers.hpp +++ b/include/Server/Components/Timers/timers.hpp @@ -30,6 +30,15 @@ struct ITimer : public IExtensible /// Get the handler associated with the timer virtual TimerTimeOutHandler* handler() const = 0; + + /// Get the timer paused state + virtual bool paused() const = 0; + + /// Set the timer's interval + virtual void setInterval(Milliseconds interval) = 0; + + /// Toggle the timer paused state + virtual void togglePause(bool paused) = 0; }; struct TimerTimeOutHandler