DSPark 1.6.1
Header-only audio DSP framework in pure C++20 — zero dependencies
Loading...
Searching...
No Matches
dspark::plugin::webview_ui::HostCallbacks Struct Reference

How the editor reaches back into the format wrapper. Plain function pointers + context (no std::function, no virtuals): the wrapper translates to its format's gesture/automation calls and to the user's setParameter. All calls arrive on the host's main/UI thread, in PLAIN parameter values. More...

#include <DSParkWebViewEditor.h>

Public Attributes

void * context = nullptr
 
void(* setParam )(void *context, int index, double plainValue) = nullptr
 
void(* beginEdit )(void *context, int index) = nullptr
 
void(* endEdit )(void *context, int index) = nullptr
 

Detailed Description

How the editor reaches back into the format wrapper. Plain function pointers + context (no std::function, no virtuals): the wrapper translates to its format's gesture/automation calls and to the user's setParameter. All calls arrive on the host's main/UI thread, in PLAIN parameter values.

Definition at line 442 of file DSParkWebViewEditor.h.

Member Data Documentation

◆ beginEdit

void(* dspark::plugin::webview_ui::HostCallbacks::beginEdit) (void *context, int index) = nullptr

Definition at line 446 of file DSParkWebViewEditor.h.

◆ context

void* dspark::plugin::webview_ui::HostCallbacks::context = nullptr

Definition at line 444 of file DSParkWebViewEditor.h.

◆ endEdit

void(* dspark::plugin::webview_ui::HostCallbacks::endEdit) (void *context, int index) = nullptr

Definition at line 447 of file DSParkWebViewEditor.h.

◆ setParam

void(* dspark::plugin::webview_ui::HostCallbacks::setParam) (void *context, int index, double plainValue) = nullptr

Definition at line 445 of file DSParkWebViewEditor.h.


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