diff options
Diffstat (limited to 'control/types.hpp')
-rw-r--r-- | control/types.hpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/control/types.hpp b/control/types.hpp index 915b8b4..0d7610c 100644 --- a/control/types.hpp +++ b/control/types.hpp @@ -58,7 +58,9 @@ constexpr auto hasOwnerPos = 1; using Service = std::tuple<std::string, bool>; constexpr auto intervalPos = 0; -using Timer = std::tuple<std::chrono::seconds>; +constexpr auto typePos = 1; +using Timer = std::tuple<std::chrono::seconds, + util::Timer::TimerType>; constexpr auto sigMatchPos = 0; constexpr auto sigHandlerPos = 1; |