LMMS
Loading...
Searching...
No Matches
juce_VSTCallbackHandler.h
Go to the documentation of this file.
1/*
2 ==============================================================================
3
4 This file is part of the JUCE library.
5 Copyright (c) 2022 - Raw Material Software Limited
6
7 JUCE is an open source library subject to commercial or open-source
8 licensing.
9
10 By using JUCE, you agree to the terms of both the JUCE 7 End-User License
11 Agreement and JUCE Privacy Policy.
12
13 End User License Agreement: www.juce.com/juce-7-licence
14 Privacy Policy: www.juce.com/juce-privacy-policy
15
16 Or: You may also use this code under the terms of the GPL v3 (see
17 www.gnu.org/licenses).
18
19 JUCE IS PROVIDED "AS IS" WITHOUT ANY WARRANTY, AND ALL WARRANTIES, WHETHER
20 EXPRESSED OR IMPLIED, INCLUDING MERCHANTABILITY AND FITNESS FOR PURPOSE, ARE
21 DISCLAIMED.
22
23 ==============================================================================
24*/
25
26namespace juce
27{
28
40{
41 virtual ~VSTCallbackHandler() = default;
42
48 void* ptr,
49 float opt)
50 {
51 ignoreUnused (index, value, ptr, opt);
52 return 0;
53 }
54
60 void* ptr,
61 float opt) = 0;
62
63 // Note: VS2013 prevents a "using" declaration here
66 int32 index,
68 void* ptr,
69 float opt);
70
74 virtual void handleVstHostCallbackAvailable (std::function<VstHostCallbackType>&& callback)
75 {
77 }
78};
79
80} // namespace juce
opcode
Definition Spc_Cpu.h:173
static PuglViewHint int value
Definition pugl.h:1708
Definition carla_juce.cpp:31
jack_client_t client jack_client_t client jack_client_t client jack_client_t JackInfoShutdownCallback void arg jack_client_t jack_port_t port void func jack_client_t const char const char unsigned long flags const jack_port_t port jack_client_t jack_port_id_t port_id const jack_port_t const char port_name const jack_port_t port void * ptr
Definition juce_linux_JackAudio.cpp:79
void ignoreUnused(Types &&...) noexcept
Definition juce_MathsFunctions.h:333
signed int int32
Definition juce_MathsFunctions.h:43
int pointer_sized_int
Definition juce_MathsFunctions.h:80
Definition juce_VSTCallbackHandler.h:40
pointer_sized_int VstHostCallbackType(int32 opcode, int32 index, pointer_sized_int value, void *ptr, float opt)
Definition juce_VSTCallbackHandler.h:65
virtual void handleVstHostCallbackAvailable(std::function< VstHostCallbackType > &&callback)
Definition juce_VSTCallbackHandler.h:74
virtual ~VSTCallbackHandler()=default
virtual pointer_sized_int handleVstPluginCanDo(int32 index, pointer_sized_int value, void *ptr, float opt)
Definition juce_VSTCallbackHandler.h:46
virtual pointer_sized_int handleVstManufacturerSpecific(int32 index, pointer_sized_int value, void *ptr, float opt)=0
RECT const char void(* callback)(const char *droppath))) SWELL_API_DEFINE(BOOL
Definition swell-functions.h:1004