added RCU handling of Session route list, and major use of shared_ptr<T> everywhere...
[ardour.git] / libs / ardour / ardour / plugin_manager.h
index 1a07c67c8dd18eeeb75d2aec6aee2e4d6dbae728..cc9a04738e6d704f3478e8cdfd0aa8184432726d 100644 (file)
@@ -5,6 +5,8 @@
 #include <map>
 #include <string>
 
+#include <boost/shared_ptr.hpp>
+
 #include <ardour/types.h>
 
 namespace ARDOUR {
@@ -26,7 +28,7 @@ class PluginManager {
        int add_ladspa_directory (std::string dirpath);
        int add_vst_directory (std::string dirpath);
 
-       Plugin *load (ARDOUR::Session& s, PluginInfo* info);
+       boost::shared_ptr<Plugin> load (ARDOUR::Session& s, PluginInfo* info);
 
        static PluginManager* the_manager() { return _manager; }