diff options
author | David Robillard <d@drobilla.net> | 2020-07-19 16:01:07 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-08-01 11:50:43 +0200 |
commit | 381c4a77fe5864cd3aed3854b75acf2a52f6a74d (patch) | |
tree | e12c428f00b141015c2ad982354fa2fa0f51ddf5 /src/client | |
parent | 62cc04f4a703f034cbf81e19b26797e6271801ae (diff) | |
download | ingen-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.cpp | 4 | ||||
-rw-r--r-- | src/client/PluginUI.cpp | 2 |
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)); |