diff vamp-sdk/hostext/PluginWrapper.cpp @ 59:fa79c4ec847d host-factory-stuff

* Put hostext stuff in the HostExt sub-namespace * Tidy up system-specific stuff in PluginLoader * Make PluginLoader return a deletion-notifying wrapper which permits the library to be unloaded when no longer in use * Add PluginChannelAdapter * Make vamp-simple-host use PluginChannelAdapter, and use the PluginLoader for plugin-running task. Also some other enhancements to host
author cannam
date Thu, 24 May 2007 15:17:07 +0000
parents 0284955e31e5
children 97c5ac99d725
line wrap: on
line diff
--- a/vamp-sdk/hostext/PluginWrapper.cpp	Thu May 24 10:05:00 2007 +0000
+++ b/vamp-sdk/hostext/PluginWrapper.cpp	Thu May 24 15:17:07 2007 +0000
@@ -38,8 +38,11 @@
 
 namespace Vamp {
 
+namespace HostExt {
+
 PluginWrapper::PluginWrapper(Plugin *plugin) :
-    Plugin(0)
+    Plugin(0),
+    m_plugin(plugin)
 {
 }
 
@@ -187,3 +190,5 @@
 
 }
 
+}
+