Small cleanup: add constructor to InterThreadInfo.
[ardour.git] / libs / ardour / ardour / lv2_plugin.h
index de42512cfe0395ea12fc2e8fce681836aad7de2b..d42c34a5461e631c6c6148521c695f9a2e7360fa 100644 (file)
@@ -26,7 +26,6 @@
 #include <string>
 #include <dlfcn.h>
 
-#include <sigc++/signal.h>
 
 #include "pbd/stateful.h"
 
@@ -115,9 +114,9 @@ class LV2Plugin : public ARDOUR::Plugin
        static uint32_t midi_event_type() { return _midi_event_type; }
 
        XMLNode& get_state();
-       int      set_state(const XMLNode& node);
+       int      set_state(const XMLNode& node, int version);
        bool     save_preset(std::string uri);
-       bool     load_preset(const std::string uri);
+       bool     load_preset(const std::string& uri);
        virtual std::vector<Plugin::PresetRecord> get_presets();
 
        bool has_editor() const;
@@ -176,7 +175,7 @@ struct LV2World {
        SLV2Value srate;
        SLV2Value gtk_gui;
        SLV2Value external_gui;
-        SLV2Value logarithmic;
+       SLV2Value logarithmic;
 };
 
 
@@ -184,7 +183,7 @@ class LV2PluginInfo : public PluginInfo {
 public:
        LV2PluginInfo (void* slv2_world, void* slv2_plugin);;
        ~LV2PluginInfo ();;
-       static PluginInfoList discover (void* slv2_world);
+       static PluginInfoList* discover (void* slv2_world);
 
        PluginPtr load (Session& session);