From c0da1cf368b7d43c9c886b81768b4a62a07fae3f Mon Sep 17 00:00:00 2001 From: David Robillard Date: Sat, 28 Mar 2015 09:47:19 +0000 Subject: Unify value widgets in properties dialog. This shows the fancy URI selector for URI properties, and can show numeric controls for the property-to-add. The ontologies need some work, along with smarter widget creation, before the latter will actually be useful. git-svn-id: http://svn.drobilla.net/lad/trunk/ingen@5648 a436a847-0d15-0410-975c-d299462d15a1 --- ingen/URIMap.hpp | 1 + ingen/URIs.hpp | 1 + 2 files changed, 2 insertions(+) (limited to 'ingen') diff --git a/ingen/URIMap.hpp b/ingen/URIMap.hpp index d17c42e1..eb5a3833 100644 --- a/ingen/URIMap.hpp +++ b/ingen/URIMap.hpp @@ -38,6 +38,7 @@ public: virtual ~URIMap() {} uint32_t map_uri(const char* uri); + uint32_t map_uri(const std::string& uri) { return map_uri(uri.c_str()); } const char* unmap_uri(uint32_t urid) const; class Feature : public LV2Features::Feature { diff --git a/ingen/URIs.hpp b/ingen/URIs.hpp index ee41d80c..e5ea4d49 100644 --- a/ingen/URIs.hpp +++ b/ingen/URIs.hpp @@ -154,6 +154,7 @@ public: const Quark pset_preset; const Quark pprops_logarithmic; const Quark rdf_type; + const Quark rdfs_Class; const Quark rdfs_seeAlso; const Quark rsz_minimumSize; const Quark time_Position; -- cgit v1.2.1