diff options
author | David Robillard <d@drobilla.net> | 2011-11-18 17:27:16 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-11-18 17:27:16 +0000 |
commit | 7c25d40076f863bdd019b637912e473d2e748040 (patch) | |
tree | 8e9390ba594e950159e551a8e25a79a0f31f4845 /ext/state.lv2/state.ttl | |
parent | f4b4d8bf43d794db56e0c92a34b894e5bf42889f (diff) | |
download | lv2-7c25d40076f863bdd019b637912e473d2e748040.tar.xz |
Define LV2_STATE_INTERFACE_URI.
Diffstat (limited to 'ext/state.lv2/state.ttl')
-rw-r--r-- | ext/state.lv2/state.ttl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/ext/state.lv2/state.ttl b/ext/state.lv2/state.ttl index 1d85bd3..c79188e 100644 --- a/ext/state.lv2/state.ttl +++ b/ext/state.lv2/state.ttl @@ -133,7 +133,7 @@ void my_restore(LV2_Handle instance, const void* my_extension_data(const char* uri) { static const LV2_State_Interface state_iface = { my_save, my_restore }; - if (!strcmp(uri, "http://lv2plug.in/ns/ext/state#Interface")) { + if (!strcmp(uri, LV2_STATE_INTERFACE_URI)) { return &state_iface; } } @@ -180,8 +180,8 @@ state:Interface <p>A structure (LV2_State_Interface) which contains functions to be called by the host to save and restore state. In order to support this extension, the plugin must return a valid LV2_State_Interface from -LV2_Descriptor::extension_data() when it is called with URI -"http://lv2plug.in/ns/ext/state#StateInterface".</p> +LV2_Descriptor::extension_data() when it is called with +LV2_STATE_INTERFACE_URI.</p> <p>The plugin data file should describe this like so:</p> <pre class="turtle-code"> |