summaryrefslogtreecommitdiffstats
path: root/src/AtomReader.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2017-02-15 23:18:59 +0100
committerDavid Robillard <d@drobilla.net>2017-02-15 23:26:03 +0100
commitfa6bb9afe8fcf2b0b8348495b9c4e1d6425136f0 (patch)
treee69cd957486b3fe8a82c0b56f26aec0a23b8235c /src/AtomReader.cpp
parent2ba09e4b41b01cbd8f8756eb0e3b7e33136e06b3 (diff)
downloadingen-fa6bb9afe8fcf2b0b8348495b9c4e1d6425136f0.tar.gz
ingen-fa6bb9afe8fcf2b0b8348495b9c4e1d6425136f0.tar.bz2
ingen-fa6bb9afe8fcf2b0b8348495b9c4e1d6425136f0.zip
Move Properties out of Resource
Diffstat (limited to 'src/AtomReader.cpp')
-rw-r--r--src/AtomReader.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/AtomReader.cpp b/src/AtomReader.cpp
index 90f0ac9f..57aa09bb 100644
--- a/src/AtomReader.cpp
+++ b/src/AtomReader.cpp
@@ -52,8 +52,8 @@ AtomReader::get_atom(const LV2_Atom* in, Atom& out)
}
void
-AtomReader::get_props(const LV2_Atom_Object* obj,
- Ingen::Resource::Properties& props)
+AtomReader::get_props(const LV2_Atom_Object* obj,
+ Ingen::Properties& props)
{
if (obj->body.otype) {
const Atom type(sizeof(int32_t), _uris.atom_URID, &obj->body.otype);
@@ -217,7 +217,7 @@ AtomReader::write(const LV2_Atom* msg, int32_t default_id)
_log.warn("Arc has non-path tail or head\n");
}
} else {
- Ingen::Resource::Properties props;
+ Ingen::Properties props;
get_props(body, props);
_iface.put(*subject_uri, props);
}
@@ -266,10 +266,10 @@ AtomReader::write(const LV2_Atom* msg, int32_t default_id)
return false;
}
- Ingen::Resource::Properties add_props;
+ Ingen::Properties add_props;
get_props(add, add_props);
- Ingen::Resource::Properties remove_props;
+ Ingen::Properties remove_props;
get_props(remove, remove_props);
_iface.delta(*subject_uri, remove_props, add_props);