summaryrefslogtreecommitdiffstats
path: root/ingen/URIMap.hpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2015-03-28 09:47:19 +0000
committerDavid Robillard <d@drobilla.net>2015-03-28 09:47:19 +0000
commitc0da1cf368b7d43c9c886b81768b4a62a07fae3f (patch)
tree83b651a2b680e32b990dd1e1909156aee475a181 /ingen/URIMap.hpp
parentd0b4376df39e95cb9389f5c42fc1c2333e8c0c97 (diff)
downloadingen-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/URIMap.hpp')
-rw-r--r--ingen/URIMap.hpp1
1 files changed, 1 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 {