1 /* 2 LV2 Instance Access Extension 3 Copyright 2008-2012 David Robillard <http://drobilla.net> 4 5 Permission to use, copy, modify, and/or distribute this software for any 6 purpose with or without fee is hereby granted, provided that the above 7 copyright notice and this permission notice appear in all copies. 8 9 THIS SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES 10 WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF 11 MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 12 ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES 13 WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN 14 ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 15 OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 16 */ 17 18 #ifndef LV2_INSTANCE_ACCESS_H 19 #define LV2_INSTANCE_ACCESS_H 20 21 #define LV2_INSTANCE_ACCESS_URI "http://lv2plug.in/ns/ext/instance-access" 22 23 /** 24 @file instance-access.h 25 C header for the LV2 Instance Access extension 26 <http://lv2plug.in/ns/ext/instance-access>. 27 28 This extension defines a method for (e.g.) plugin UIs to get a direct 29 handle to an LV2 plugin instance (LV2_Handle), if possible. 30 31 To support this feature the host must pass an LV2_Feature struct to the 32 UI instantiate method with URI "http://lv2plug.in/ns/ext/instance-access" 33 and data pointed directly to the LV2_Handle of the plugin instance. 34 */ 35 36 #endif /* LV2_INSTANCE_ACCESS_H */ 37 38