Feature data. More...
#include <lv2.h>
Data Fields | |
const char * | URI |
A globally unique, case-sensitive identifier for this feature. | |
void * | data |
Pointer to arbitrary data. |
Feature data.
These are passed to a plugin's instantiate method to represent a special feature the host has which the plugin may depend on. This is to allow extensions to the LV2 specification without causing any breakage. Extensions may specify what data needs to be passed here. The base LV2 specification does not define any features; hosts are not required to use this facility.
const char* _LV2_Feature::URI |
A globally unique, case-sensitive identifier for this feature.
This MUST be defined in the specification of any LV2 extension which defines a host feature.
void* _LV2_Feature::data |
Pointer to arbitrary data.
This is to allow hosts to pass data to a plugin (simple values, data structures, function pointers, etc) as part of a 'feature'. The LV2 specification makes no restrictions on the contents of this data. The data here MUST be cleary defined by the LV2 extension which defines this feature. If no data is required, this may be set to NULL.