pluginuiinstance.h   pluginuiinstance.h 
skipping to change at line 27 skipping to change at line 27
*/ */
#ifndef __SLV2_PLUGINUIINSTANCE_H__ #ifndef __SLV2_PLUGINUIINSTANCE_H__
#define __SLV2_PLUGINUIINSTANCE_H__ #define __SLV2_PLUGINUIINSTANCE_H__
#ifdef __cplusplus #ifdef __cplusplus
extern "C" { extern "C" {
#endif #endif
#include <assert.h> #include <assert.h>
#include <slv2/lv2_gui.h> #include <slv2/lv2_ui.h>
#include <slv2/plugin.h> #include <slv2/plugin.h>
typedef struct _SLV2UIInstanceImpl* SLV2UIInstanceImpl; typedef struct _SLV2UIInstanceImpl* SLV2UIInstanceImpl;
/* Instance of a plugin UI. /* Instance of a plugin UI.
* *
* All details are in hidden in the pimpl member to avoid making the * All details are in hidden in the pimpl member to avoid making the
* implementation a part of the ABI. * implementation a part of the ABI.
*/ */
typedef struct _SLV2UIInstance { typedef struct _SLV2UIInstance {
skipping to change at line 61 skipping to change at line 61
* \a plugin is not modified or directly referenced by the returned object * \a plugin is not modified or directly referenced by the returned object
* (instances store only a copy of the plugin's URI). * (instances store only a copy of the plugin's URI).
* *
* \a host_features NULL-terminated array of features the host supports. * \a host_features NULL-terminated array of features the host supports.
* NULL may be passed if the host supports no additional features (unlike * NULL may be passed if the host supports no additional features (unlike
* the LV2 specification - SLV2 takes care of it). * the LV2 specification - SLV2 takes care of it).
* *
* \return NULL if instantiation failed. * \return NULL if instantiation failed.
*/ */
SLV2UIInstance SLV2UIInstance
slv2_ui_instantiate(SLV2Plugin plugin, slv2_ui_instantiate(SLV2Plugin plugin,
SLV2UI ui, SLV2UI ui,
LV2UI_Write_Function write_function, LV2UI_Write_Function write_function,
LV2UI_Controller controller, LV2UI_Controller controller,
const LV2_Feature* const* features); LV2UI_Host_Data host_data,
const LV2_Feature* const* features);
/** Free a plugin UI instance. /** Free a plugin UI instance.
* *
* It is the caller's responsibility to ensure all references to the UI * It is the caller's responsibility to ensure all references to the UI
* instance (including any returned widgets) are cut before calling * instance (including any returned widgets) are cut before calling
* this function. * this function.
* *
* \a instance is invalid after this call. * \a instance is invalid after this call.
*/ */
void void
 End of changes. 2 change blocks. 
6 lines changed or deleted 7 lines changed or added


 portsignature.h   portsignature.h 
skipping to change at line 34 skipping to change at line 34
#endif #endif
#include <stdbool.h> #include <stdbool.h>
#include <slv2/types.h> #include <slv2/types.h>
/** \addtogroup slv2_data /** \addtogroup slv2_data
* @{ * @{
*/ */
/** Get the direction (input or output) of the port. /** Get the direction (input or output) of the port.
*
* Time = O(1)
*/ */
SLV2PortDirection SLV2PortDirection
slv2_port_signature_get_direction(SLV2PortSignature sig); slv2_port_signature_get_direction(SLV2PortSignature sig);
/** Get the type (e.g. audio, midi) of the port. /** Get the type (e.g. audio, midi) of the port.
*
* Time = O(1)
*/ */
SLV2PortDataType SLV2PortDataType
slv2_port_signature_get_type(SLV2PortSignature sig); slv2_port_signature_get_type(SLV2PortSignature sig);
/** @} */ /** @} */
#ifdef __cplusplus #ifdef __cplusplus
} }
#endif #endif
 End of changes. 2 change blocks. 
0 lines changed or deleted 4 lines changed or added


 template.h   template.h 
skipping to change at line 34 skipping to change at line 34
#endif #endif
#include <stdbool.h> #include <stdbool.h>
#include <slv2/types.h> #include <slv2/types.h>
/** \addtogroup slv2_data /** \addtogroup slv2_data
* @{ * @{
*/ */
/** Free an SLV2Template. /** Free an SLV2Template.
*
* Time = O(1) + free()
*/ */
void void
slv2_template_free(SLV2Template); slv2_template_free(SLV2Template);
/** Get the signature (direction and type) of a port /** Get the signature (direction and type) of a port
*
* Time = O(1)
*/ */
SLV2PortSignature SLV2PortSignature
slv2_template_get_port(SLV2Template t, slv2_template_get_port(SLV2Template t,
uint32_t index); uint32_t index);
/** Get the total number of ports. /** Get the total number of ports.
*
* Time = O(1)
*/ */
uint32_t uint32_t
slv2_template_get_num_ports(SLV2Template t); slv2_template_get_num_ports(SLV2Template t);
/** Get the number of ports of a given direction and type. /** Get the number of ports of a given direction and type.
*
* Time = O(1)
*/ */
uint32_t uint32_t
slv2_template_get_num_ports_of_type(SLV2Template t, slv2_template_get_num_ports_of_type(SLV2Template t,
SLV2PortDirection direction, SLV2PortDirection direction,
SLV2PortDataType type); SLV2PortDataType type);
/** @} */ /** @} */
#ifdef __cplusplus #ifdef __cplusplus
} }
 End of changes. 4 change blocks. 
0 lines changed or deleted 8 lines changed or added

This html diff was produced by rfcdiff 1.41. The latest version is available from http://tools.ietf.org/tools/rfcdiff/