
subrepo: subdir: "deps/clap-juce-extensions/clap-libs/clap" merged: "3189bdfaf" upstream: origin: "https://github.com/free-audio/clap" branch: "main" commit: "3189bdfaf" git-subrepo: version: "0.4.3" origin: "https://github.com/ingydotnet/git-subrepo.git" commit: "2f68596"
23 lines
585 B
C
23 lines
585 B
C
#pragma once
|
|
|
|
#include "../plugin.h"
|
|
|
|
static CLAP_CONSTEXPR const char CLAP_EXT_EVENT_REGISTRY[] = "clap.event-registry";
|
|
|
|
#ifdef __cplusplus
|
|
extern "C" {
|
|
#endif
|
|
|
|
typedef struct clap_host_event_registry {
|
|
// Queries an event space id.
|
|
// The space id 0 is reserved for CLAP's core events. See CLAP_CORE_EVENT_SPACE.
|
|
//
|
|
// Return false and sets *space to UINT16_MAX if the space name is unknown to the host.
|
|
// [main-thread]
|
|
bool (*query)(const clap_host_t *host, const char *space_name, uint16_t *space_id);
|
|
} clap_host_event_registry_t;
|
|
|
|
#ifdef __cplusplus
|
|
}
|
|
#endif
|