summaryrefslogtreecommitdiff
path: root/src/Fl_Timeout.h
diff options
context:
space:
mode:
authorMatthias Melcher <github@matthiasm.com>2025-11-28 00:55:48 +0100
committerMatthias Melcher <github@matthiasm.com>2025-11-28 00:55:57 +0100
commitee43155a4bedc6f9e2eafd2e2af00b85e92ad2be (patch)
tree1279a2526cbaf14a4db0e3efcf53dbb53d75d065 /src/Fl_Timeout.h
parent6568f60ab8ccb5df88826a9e9184d48a1c124843 (diff)
Add method to list running timeouts (#1306).
\see Fl::timeout_list();
Diffstat (limited to 'src/Fl_Timeout.h')
-rw-r--r--src/Fl_Timeout.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Fl_Timeout.h b/src/Fl_Timeout.h
index 9d9cc2337..279935a71 100644
--- a/src/Fl_Timeout.h
+++ b/src/Fl_Timeout.h
@@ -109,6 +109,7 @@ public:
static void repeat_timeout(double time, Fl_Timeout_Handler cb, void *data);
static void remove_timeout(Fl_Timeout_Handler cb, void *data);
static int remove_next_timeout(Fl_Timeout_Handler cb, void *data = NULL, void **data_return = NULL);
+ static std::vector<Fl::TimeoutData> timeout_list();
// Elapse timeouts, i.e. calculate new delay time of all timers.
// This does not call the timer callbacks.