SLV2
0.6.6
Main Page
Modules
Files
File List
slv2
plugin.h
1
/* SLV2
2
* Copyright (C) 2007-2009 Dave Robillard <http://drobilla.net>
3
*
4
* This library is free software; you can redistribute it and/or modify it
5
* under the terms of the GNU General Public License as published by the Free
6
* Software Foundation; either version 2 of the License, or (at your option)
7
* any later version.
8
*
9
* This library is distributed in the hope that it will be useful, but WITHOUT
10
* ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
11
* FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License
12
* for more details.
13
*
14
* You should have received a copy of the GNU General Public License along
15
* with this program; if not, write to the Free Software Foundation, Inc.,
16
* 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA.
17
*/
18
19
#ifndef __SLV2_PLUGIN_H__
20
#define __SLV2_PLUGIN_H__
21
22
#ifdef __cplusplus
23
extern
"C"
{
24
#endif
25
26
#include <stdint.h>
27
#include <stdbool.h>
28
#include "slv2/types.h"
29
#include "slv2/port.h"
30
#include "slv2/collections.h"
31
59
bool
60
slv2_plugin_verify
(SLV2Plugin plugin);
61
62
79
SLV2Value
80
slv2_plugin_get_uri
(SLV2Plugin plugin);
81
82
98
SLV2Value
99
slv2_plugin_get_bundle_uri
(SLV2Plugin plugin);
100
101
114
SLV2Values
115
slv2_plugin_get_data_uris
(SLV2Plugin plugin);
116
117
127
SLV2Value
128
slv2_plugin_get_library_uri
(SLV2Plugin plugin);
129
130
139
SLV2Value
140
slv2_plugin_get_name
(SLV2Plugin plugin);
141
142
145
SLV2PluginClass
146
slv2_plugin_get_class
(SLV2Plugin plugin);
147
148
165
SLV2Values
166
slv2_plugin_get_value
(SLV2Plugin p,
167
SLV2Value predicate);
168
169
176
SLV2Values
177
slv2_plugin_get_value_by_qname
(SLV2Plugin p,
178
const
char
* predicate);
179
180
188
SLV2Values
189
slv2_plugin_get_value_by_qname_i18n
(SLV2Plugin p,
190
const
char
* predicate);
191
192
212
SLV2Values
213
slv2_plugin_get_value_for_subject
(SLV2Plugin p,
214
SLV2Value subject_uri,
215
SLV2Value predicate_uri);
216
217
225
bool
226
slv2_plugin_has_feature
(SLV2Plugin p,
227
SLV2Value feature_uri);
228
229
242
SLV2Values
243
slv2_plugin_get_supported_features
(SLV2Plugin p);
244
245
259
SLV2Values
260
slv2_plugin_get_required_features
(SLV2Plugin p);
261
262
273
SLV2Values
274
slv2_plugin_get_optional_features
(SLV2Plugin p);
275
276
281
uint32_t
282
slv2_plugin_get_num_ports
(SLV2Plugin p);
283
284
299
void
300
slv2_plugin_get_port_ranges_float
(SLV2Plugin p,
301
float
* min_values,
302
float
* max_values,
303
float
* def_values);
304
313
uint32_t
314
slv2_plugin_get_num_ports_of_class
(SLV2Plugin p,
315
SLV2Value class_1, ...);
316
324
bool
325
slv2_plugin_has_latency
(SLV2Plugin p);
326
327
339
uint32_t
340
slv2_plugin_get_latency_port_index
(SLV2Plugin p);
341
342
353
SLV2Values
354
slv2_plugin_query_variable
(SLV2Plugin plugin,
355
const
char
* sparql_str,
356
unsigned
variable);
357
358
369
unsigned
370
slv2_plugin_query_count
(SLV2Plugin plugin,
371
const
char
* sparql_str);
372
373
381
SLV2Port
382
slv2_plugin_get_port_by_index
(SLV2Plugin plugin,
383
uint32_t index);
384
385
395
SLV2Port
396
slv2_plugin_get_port_by_symbol
(SLV2Plugin plugin,
397
SLV2Value symbol);
398
399
412
SLV2UIs
413
slv2_plugin_get_uis
(SLV2Plugin plugin);
414
415
423
SLV2Value
424
slv2_plugin_get_author_name
(SLV2Plugin plugin);
425
426
434
SLV2Value
435
slv2_plugin_get_author_email
(SLV2Plugin plugin);
436
437
445
SLV2Value
446
slv2_plugin_get_author_homepage
(SLV2Plugin plugin);
447
448
451
#ifdef __cplusplus
452
}
/* extern "C" */
453
#endif
454
455
#endif
/* __SLV2_PLUGIN_H__ */
456
Generated on Thu Mar 20 2014 03:59:55 for SLV2 by
1.8.1.2