Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 9 additions & 0 deletions include/Server/Components/Timers/timers.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down