diff options
Diffstat (limited to 'src/uscxml/concurrency/DelayedEventQueue.h')
-rw-r--r-- | src/uscxml/concurrency/DelayedEventQueue.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/uscxml/concurrency/DelayedEventQueue.h b/src/uscxml/concurrency/DelayedEventQueue.h index 2248c47..d89b715 100644 --- a/src/uscxml/concurrency/DelayedEventQueue.h +++ b/src/uscxml/concurrency/DelayedEventQueue.h @@ -57,7 +57,8 @@ public: void addEvent(std::string eventId, int fd, short opMask, void (*callback)(void*, const std::string eventId), void* userData, bool persist = true); void addEvent(std::string eventId, void (*callback)(void*, const std::string eventId), uint32_t delayMs, void* userData, bool persist = false); - void cancelEvent(std::string eventId); + void cancelEvent(std::string eventId); + void cancelAllEvents(); void start(); void stop(); |