summaryrefslogtreecommitdiffstats
path: root/src/userintf.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/userintf.h')
-rw-r--r--src/userintf.h3
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);