comparison vamp-sdk/hostext/PluginWrapper.h @ 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 fe5486ee1c70
comparison
equal deleted inserted replaced
58:0284955e31e5 59:fa79c4ec847d
32 shall not be used in advertising or otherwise to promote the sale, 32 shall not be used in advertising or otherwise to promote the sale,
33 use or other dealings in this Software without prior written 33 use or other dealings in this Software without prior written
34 authorization. 34 authorization.
35 */ 35 */
36 36
37 #ifndef _PLUGIN_WRAPPER_H_ 37 #ifndef _VAMP_PLUGIN_WRAPPER_H_
38 #define _VAMP_PLUGIN_WRAPPER_H_
38 39
39 #include <vamp-sdk/Plugin.h> 40 #include <vamp-sdk/Plugin.h>
40 41
41 namespace Vamp { 42 namespace Vamp {
43
44 namespace HostExt {
42 45
43 class PluginWrapper : public Plugin 46 class PluginWrapper : public Plugin
44 { 47 {
45 public: 48 public:
46 virtual ~PluginWrapper(); 49 virtual ~PluginWrapper();
83 Plugin *m_plugin; 86 Plugin *m_plugin;
84 }; 87 };
85 88
86 } 89 }
87 90
91 }
92
88 #endif 93 #endif