commit 2cf3e6e6dd5ed52144106496efa34c7571639cd0
parent 0f43c511160f3301ae52624971112305de4d8aca
Author: falkTX <falktx@falktx.com>
Date: Thu, 11 May 2023 23:41:54 +0200
travesty: add C++ variants of v3_component_handler[2] structs
Signed-off-by: falkTX <falktx@falktx.com>
Diffstat:
1 file changed, 9 insertions(+), 1 deletion(-)
diff --git a/distrho/src/travesty/edit_controller.h b/distrho/src/travesty/edit_controller.h
@@ -1,6 +1,6 @@
/*
* travesty, pure C VST3-compatible interface
- * Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com>
+ * Copyright (C) 2021-2023 Filipe Coelho <falktx@falktx.com>
*
* Permission to use, copy, modify, and/or distribute this software for any purpose with
* or without fee is hereby granted, provided that the above copyright notice and this
@@ -132,6 +132,14 @@ static constexpr const v3_tuid v3_midi_mapping_iid =
* C++ variants
*/
+struct v3_component_handler_cpp : v3_funknown {
+ v3_component_handler comp;
+};
+
+struct v3_component_handler2_cpp : v3_funknown {
+ v3_component_handler2 comp2;
+};
+
struct v3_edit_controller_cpp : v3_funknown {
v3_plugin_base base;
v3_edit_controller ctrl;