LV2Core 4
|
Feature. More...
#include <lv2.h>
Data Fields | |
const char * | URI |
A globally unique, case-sensitive identifier (URI) for this feature. | |
void * | data |
Pointer to arbitrary data. |
Feature.
Features are used to provide an extensible interface to allow adding arbitrary functionality to implementations without breaking API compatibility. In particular, they may be passed by the host to the plugin's instantiate method to provide additional functionality. Extensions that describe a feature MUST specify the URI and format of data that needs to be used here. The core LV2 specification does not define any features; implementations are not required to use this facility.
const char* _LV2_Feature::URI |
A globally unique, case-sensitive identifier (URI) for this feature.
This MUST be a valid URI string as defined by RFC 3986.
void* _LV2_Feature::data |
Pointer to arbitrary data.
The format of this data is defined by the extension which describes the feature with the given URI. The core LV2 specification makes no restrictions on the format of this data. If no data is required, this may be set to NULL if the relevant extension explicitly allows this.