Mercurial > hg > piper-vamp-js
diff VamPipePluginLibrary.cpp @ 88:6c4b43298968
Introduce a new layer to abstract away plugin construction, so plugins needing more constructor arguments can easily be dealt with
author | Chris Cannam <c.cannam@qmul.ac.uk> |
---|---|
date | Wed, 14 Sep 2016 17:58:41 +0100 |
parents | a6ab5fd80eb7 |
children | 40da19b655a7 |
line wrap: on
line diff
--- a/VamPipePluginLibrary.cpp Wed Sep 14 14:58:44 2016 +0100 +++ b/VamPipePluginLibrary.cpp Wed Sep 14 17:58:41 2016 +0100 @@ -64,10 +64,10 @@ return j; } -VamPipePluginLibrary::VamPipePluginLibrary(vector<VamPipeAdapterBase *> pp) : +VamPipePluginLibrary::VamPipePluginLibrary(vector<VamPipeAdapterInterface *> pp) : m_useBase64(false) { - for (VamPipeAdapterBase *p: pp) { + for (VamPipeAdapterInterface *p: pp) { string key = p->getStaticData().pluginKey; m_adapters[key] = p; }