From 6de587b04154f2efdc2a94c0a78225f7adc88ff9 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sun, 27 Jan 2008 07:49:37 +0000 Subject: Packaging stuff. Add scale points API. Display scale points in lv2_inspect. Fix bugs resulting in returning empty collections. git-svn-id: http://svn.drobilla.net/lad/slv2@1114 a436a847-0d15-0410-975c-d299462d15a1 --- src/slv2_internal.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'src/slv2_internal.h') diff --git a/src/slv2_internal.h b/src/slv2_internal.h index eda0abd..d38daa4 100644 --- a/src/slv2_internal.h +++ b/src/slv2_internal.h @@ -225,6 +225,17 @@ librdf_uri* slv2_value_as_librdf_uri(SLV2Value value); void slv2_values_set_at(SLV2Values list, unsigned index, void* value); +/* ********* Scale Points ********* */ + +struct _SLV2ScalePoint { + SLV2Value value; + SLV2Value label; +}; + +SLV2ScalePoint slv2_scale_point_new(SLV2Value value, SLV2Value label); +void slv2_scale_point_free(SLV2ScalePoint point); + + /* String utility functions */ char* slv2_strjoin(const char* first, ...); -- cgit v1.2.1