#include <ardour/plugin_state.h>
#include <ardour/cycles.h>
-#include <list>
#include <vector>
#include <set>
#include <map>
using std::string;
using std::vector;
-using std::list;
using std::set;
using std::map;
PluginInfo () { };
PluginInfo (const PluginInfo &o)
: name(o.name), n_inputs(o.n_inputs), n_outputs(o.n_outputs),
- path (o.path), index(o.index) {}
+ unique_id(o.unique_id), path (o.path), index(o.index) {}
~PluginInfo () { };
string name;
string category;
uint32_t n_outputs;
Type type;
+ long unique_id;
+
private:
friend class PluginManager;
string path;
virtual bool save_preset(string name) = 0;
virtual bool load_preset (const string preset_label);
- virtual list<string> get_presets();
+ virtual std::vector<std::string> get_presets();
virtual bool has_editor() const = 0;
/* this is actually defined in plugin_manager.cc */
-Plugin * find_plugin(ARDOUR::Session&, string name, PluginInfo::Type);
+Plugin * find_plugin(ARDOUR::Session&, string name, long unique_id, PluginInfo::Type);
} // namespace ARDOUR