summaryrefslogtreecommitdiffstats
path: root/src/client
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-07-19 16:01:07 +0200
committerDavid Robillard <d@drobilla.net>2020-08-01 11:50:43 +0200
commit381c4a77fe5864cd3aed3854b75acf2a52f6a74d (patch)
treee12c428f00b141015c2ad982354fa2fa0f51ddf5 /src/client
parent62cc04f4a703f034cbf81e19b26797e6271801ae (diff)
downloadingen-381c4a77fe5864cd3aed3854b75acf2a52f6a74d.tar.gz
ingen-381c4a77fe5864cd3aed3854b75acf2a52f6a74d.tar.bz2
ingen-381c4a77fe5864cd3aed3854b75acf2a52f6a74d.zip
Add explicit accessors to Quark
Diffstat (limited to 'src/client')
-rw-r--r--src/client/PluginModel.cpp4
-rw-r--r--src/client/PluginUI.cpp2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/client/PluginModel.cpp b/src/client/PluginModel.cpp
index f0e3c3a0..23015f51 100644
--- a/src/client/PluginModel.cpp
+++ b/src/client/PluginModel.cpp
@@ -50,9 +50,9 @@ PluginModel::PluginModel(URIs& uris,
{
if (!_type.is_valid()) {
if (uri.string().find("ingen-internals") != string::npos) {
- _type = uris.ingen_Internal.urid;
+ _type = uris.ingen_Internal.urid_atom();
} else {
- _type = uris.lv2_Plugin.urid; // Assume LV2 and hope for the best...
+ _type = uris.lv2_Plugin.urid_atom(); // Assume LV2 and hope for the best...
}
}
diff --git a/src/client/PluginUI.cpp b/src/client/PluginUI.cpp
index a997d716..07d37404 100644
--- a/src/client/PluginUI.cpp
+++ b/src/client/PluginUI.cpp
@@ -79,7 +79,7 @@ lv2_ui_write(SuilController controller,
ui->world().forge().make(value),
Resource::Graph::DEFAULT);
- } else if (format == uris.atom_eventTransfer.urid.get<LV2_URID>()) {
+ } else if (format == uris.atom_eventTransfer.urid()) {
const LV2_Atom* atom = (const LV2_Atom*)buffer;
Atom val = ui->world().forge().alloc(
atom->size, atom->type, LV2_ATOM_BODY_CONST(atom));