From 6cd1b664d3f86131507867f1ddcd1249e7607389 Mon Sep 17 00:00:00 2001 From: Robbert van der Helm Date: Wed, 28 Apr 2021 23:39:11 +0200 Subject: [PATCH] Rearrange fields in Vst2Bridge --- src/wine-host/bridges/vst2.h | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/src/wine-host/bridges/vst2.h b/src/wine-host/bridges/vst2.h index 5f4a0491..154ea783 100644 --- a/src/wine-host/bridges/vst2.h +++ b/src/wine-host/bridges/vst2.h @@ -76,6 +76,17 @@ class Vst2Bridge : public HostBridge { intptr_t host_callback(AEffect*, int, int, intptr_t, void*, float); private: + /** + * A wrapper around `plugin->dispatcher` that handles the opening and + * closing of GUIs. Used inside of `handle_dispatch()`. + */ + intptr_t dispatch_wrapper(AEffect* plugin, + int opcode, + int index, + intptr_t value, + void* data, + float option); + /** * A logger instance we'll use log cached `audioMasterGetTime()` calls, so * they can be hidden on verbosity levels below 2. @@ -93,17 +104,6 @@ class Vst2Bridge : public HostBridge { */ std::optional time_info; - /** - * A wrapper around `plugin->dispatcher` that handles the opening and - * closing of GUIs. Used inside of `handle_dispatch()`. - */ - intptr_t dispatch_wrapper(AEffect* plugin, - int opcode, - int index, - intptr_t value, - void* data, - float option); - /** * The IO context used for event handling so that all events and window * message handling can be performed from a single thread, even when hosting