diff options
Diffstat (limited to 'src/userintf.h')
-rw-r--r-- | src/userintf.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/userintf.h b/src/userintf.h index fc45866..e9b5606 100644 --- a/src/userintf.h +++ b/src/userintf.h @@ -437,6 +437,9 @@ public: // Get all command names const list<string>& get_all_commands(void); + // Asynchronously run a function on this class' event queue + void run_on_event_queue(std::function<void()> fn); + }; void *process_events_main(void *arg); |