diff options
Diffstat (limited to 'src/userintf.cpp')
-rw-r--r-- | src/userintf.cpp | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/userintf.cpp b/src/userintf.cpp index bbd7fe6..edd0d0b 100644 --- a/src/userintf.cpp +++ b/src/userintf.cpp @@ -2226,6 +2226,10 @@ void t_userintf::run(void) { cout << endl; } +void t_userintf::run_on_event_queue(std::function<void()> fn) { + evq_ui_events.push_fncall(fn); +} + void t_userintf::process_events(void) { t_event *event; t_event_ui *ui_event; |