00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019 #ifndef __SLV2_PORT_H__
00020 #define __SLV2_PORT_H__
00021
00022 #ifdef __cplusplus
00023 extern "C" {
00024 #endif
00025
00026 #include <slv2/types.h>
00027 #include <slv2/plugin.h>
00028 #include <slv2/port.h>
00029 #include <slv2/values.h>
00030
00040 SLV2Values
00041 slv2_port_get_value_by_qname(SLV2Plugin plugin,
00042 SLV2Port port,
00043 const char* property_uri);
00044
00045
00050 SLV2Values
00051 slv2_port_get_properties(SLV2Plugin plugin,
00052 SLV2Port port);
00053
00054
00059 bool
00060 slv2_port_has_property(SLV2Plugin p,
00061 SLV2Port port,
00062 SLV2Value property_uri);
00063
00064
00069 bool
00070 slv2_port_supports_event(SLV2Plugin p,
00071 SLV2Port port,
00072 SLV2Value event_uri);
00073
00074
00082 SLV2Value
00083 slv2_port_get_symbol(SLV2Plugin plugin,
00084 SLV2Port port);
00085
00094 SLV2Value
00095 slv2_port_get_name(SLV2Plugin plugin,
00096 SLV2Port port);
00097
00098
00109 SLV2Values
00110 slv2_port_get_classes(SLV2Plugin plugin,
00111 SLV2Port port);
00112
00113
00125 bool
00126 slv2_port_is_a(SLV2Plugin plugin,
00127 SLV2Port port,
00128 SLV2Value port_class);
00129
00130
00140 void
00141 slv2_port_get_range(SLV2Plugin plugin,
00142 SLV2Port port,
00143 SLV2Value* def,
00144 SLV2Value* min,
00145 SLV2Value* max);
00146
00147
00156 SLV2ScalePoints
00157 slv2_port_get_scale_points(SLV2Plugin plugin,
00158 SLV2Port port);
00159
00160
00163 #ifdef __cplusplus
00164 }
00165 #endif
00166
00167 #endif