LMMS
Loading...
Searching...
No Matches
juce::AudioProcessorEditorHostContext Struct Referenceabstract

#include <juce_AudioProcessorEditorHostContext.h>

Public Member Functions

virtual ~AudioProcessorEditorHostContext ()=default
virtual std::unique_ptr< HostProvidedContextMenugetContextMenuForParameter (const AudioProcessorParameter *) const =0
virtual std::unique_ptr< HostProvidedContextMenugetContextMenuForParameterIndex (const AudioProcessorParameter *p) const

Detailed Description

Calling AudioProcessorEditor::getHostContext() may return a pointer to an instance of this class.

At the moment, this can be used to retrieve context menus for parameters in compatible VST3 hosts. Additional extensions may be added here in the future.

@tags{Audio}

Constructor & Destructor Documentation

◆ ~AudioProcessorEditorHostContext()

virtual juce::AudioProcessorEditorHostContext::~AudioProcessorEditorHostContext ( )
virtualdefault

Member Function Documentation

◆ getContextMenuForParameter()

virtual std::unique_ptr< HostProvidedContextMenu > juce::AudioProcessorEditorHostContext::getContextMenuForParameter ( const AudioProcessorParameter * ) const
pure virtual

Returns an object which can be used to display a context menu for the parameter with the given index.

◆ getContextMenuForParameterIndex()

virtual std::unique_ptr< HostProvidedContextMenu > juce::AudioProcessorEditorHostContext::getContextMenuForParameterIndex ( const AudioProcessorParameter * p) const
inlinevirtual

The naming of this function is misleading. Use getContextMenuForParameter() instead.

Returns an object which can be used to display a context menu for the parameter with the given index.


The documentation for this struct was generated from the following file: