diff --git a/include/modules/cmdscript.hpp b/include/modules/cmdscript.hpp index 7968018c..3b2d2a5d 100644 --- a/include/modules/cmdscript.hpp +++ b/include/modules/cmdscript.hpp @@ -11,6 +11,7 @@ namespace modules { protected: void process(); + chrono::duration sleep_duration(); }; } diff --git a/include/modules/script.hpp b/include/modules/script.hpp index 92d54c80..ccfea03e 100644 --- a/include/modules/script.hpp +++ b/include/modules/script.hpp @@ -20,6 +20,7 @@ namespace modules { protected: virtual void process() = 0; + virtual chrono::duration sleep_duration() = 0; static constexpr const char* TAG_OUTPUT{""}; static constexpr const char* TAG_LABEL{"