diff options
author | David Robillard <d@drobilla.net> | 2015-03-28 09:47:19 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2015-03-28 09:47:19 +0000 |
commit | c0da1cf368b7d43c9c886b81768b4a62a07fae3f (patch) | |
tree | 83b651a2b680e32b990dd1e1909156aee475a181 /ingen | |
parent | d0b4376df39e95cb9389f5c42fc1c2333e8c0c97 (diff) | |
download | ingen-c0da1cf368b7d43c9c886b81768b4a62a07fae3f.tar.gz ingen-c0da1cf368b7d43c9c886b81768b4a62a07fae3f.tar.bz2 ingen-c0da1cf368b7d43c9c886b81768b4a62a07fae3f.zip |
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
Diffstat (limited to 'ingen')
-rw-r--r-- | ingen/URIMap.hpp | 1 | ||||
-rw-r--r-- | ingen/URIs.hpp | 1 |
2 files changed, 2 insertions, 0 deletions
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; |