mirror of
https://github.com/robbert-vdh/yabridge.git
synced 2026-05-14 04:19:59 +02:00
Move the MainContext to HostBridge
We'll use this to create a watchdog timer that shuts down the sockets when the native host gets terminated.
This commit is contained in:
@@ -18,8 +18,11 @@
|
||||
|
||||
#include "../editor.h"
|
||||
|
||||
HostBridge::HostBridge(boost::filesystem::path plugin_path)
|
||||
: plugin_path(plugin_path), generic_logger(Logger::create_wine_stderr()) {}
|
||||
HostBridge::HostBridge(MainContext& main_context,
|
||||
boost::filesystem::path plugin_path)
|
||||
: plugin_path(plugin_path),
|
||||
main_context(main_context),
|
||||
generic_logger(Logger::create_wine_stderr()) {}
|
||||
|
||||
void HostBridge::handle_win32_events() {
|
||||
MSG msg;
|
||||
|
||||
Reference in New Issue
Block a user