diff vamp-sdk/hostext/PluginLoader.h @ 69:3456fe86d385

* Switch PluginLoader to an m_impl structure to make it generally nicer
author cannam
date Wed, 06 Jun 2007 09:49:50 +0000
parents 9d3272c7db60
children 64697dca0d48
line wrap: on
line diff
--- a/vamp-sdk/hostext/PluginLoader.h	Mon Jun 04 13:31:04 2007 +0000
+++ b/vamp-sdk/hostext/PluginLoader.h	Wed Jun 06 09:49:50 2007 +0000
@@ -183,30 +183,8 @@
     PluginLoader();
     virtual ~PluginLoader();
 
-    class PluginDeletionNotifyAdapter : public PluginWrapper {
-    public:
-        PluginDeletionNotifyAdapter(Plugin *plugin, PluginLoader *loader);
-        virtual ~PluginDeletionNotifyAdapter();
-    protected:
-        PluginLoader *m_loader;
-    };
-
-    virtual void pluginDeleted(PluginDeletionNotifyAdapter *adapter);
-
-    std::map<PluginKey, std::string> m_pluginLibraryNameMap;
-    void generateLibraryMap();
-
-    std::map<PluginKey, PluginCategoryHierarchy> m_taxonomy;
-    void generateTaxonomy();
-
-    std::map<Plugin *, void *> m_pluginLibraryHandleMap;
-
-    void *loadLibrary(std::string path);
-    void unloadLibrary(void *handle);
-    void *lookupInLibrary(void *handle, const char *symbol);
-
-    std::string splicePath(std::string a, std::string b);
-    std::vector<std::string> listFiles(std::string dir, std::string ext);
+    class Impl;
+    Impl *m_impl;
 
     static PluginLoader *m_instance;
 };