Browse Source

travesty: add C++ variants of v3_component_handler[2] structs

Signed-off-by: falkTX <falktx@falktx.com>
pull/421/head
falkTX 2 years ago
parent
commit
2cf3e6e6dd
Signed by: falkTX <falktx@falktx.com> GPG Key ID: CDBAA37ABC74FBA0
1 changed files with 9 additions and 1 deletions
  1. +9
    -1
      distrho/src/travesty/edit_controller.h

+ 9
- 1
distrho/src/travesty/edit_controller.h View File

@@ -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;


Loading…
Cancel
Save