mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-07 07:14:56 +01:00
NO-OP, re-order header
This commit is contained in:
parent
d735145969
commit
8a84caf4a4
1 changed files with 37 additions and 37 deletions
|
|
@ -48,45 +48,9 @@ class Session;
|
||||||
class BufferSet;
|
class BufferSet;
|
||||||
class PluginInsert;
|
class PluginInsert;
|
||||||
class Plugin;
|
class Plugin;
|
||||||
|
class PluginInfo;
|
||||||
|
|
||||||
typedef boost::shared_ptr<Plugin> PluginPtr;
|
typedef boost::shared_ptr<Plugin> PluginPtr;
|
||||||
|
|
||||||
class LIBARDOUR_API PluginInfo {
|
|
||||||
public:
|
|
||||||
PluginInfo () { }
|
|
||||||
virtual ~PluginInfo () { }
|
|
||||||
|
|
||||||
std::string name;
|
|
||||||
std::string category;
|
|
||||||
std::string creator;
|
|
||||||
std::string path;
|
|
||||||
ChanCount n_inputs;
|
|
||||||
ChanCount n_outputs;
|
|
||||||
ARDOUR::PluginType type;
|
|
||||||
|
|
||||||
std::string unique_id;
|
|
||||||
|
|
||||||
virtual PluginPtr load (Session& session) = 0;
|
|
||||||
virtual bool is_instrument() const;
|
|
||||||
virtual bool in_category (const std::string &) const { return false; }
|
|
||||||
|
|
||||||
/* NOTE: this block of virtual methods looks like the interface
|
|
||||||
to a Processor, but Plugin does not inherit from Processor.
|
|
||||||
It is therefore not required that these precisely match
|
|
||||||
the interface, but it is likely that they will evolve together.
|
|
||||||
*/
|
|
||||||
|
|
||||||
/* this returns true if the plugin can change its inputs or outputs on demand.
|
|
||||||
LADSPA, LV2 and VST plugins cannot do this. AudioUnits can.
|
|
||||||
*/
|
|
||||||
|
|
||||||
virtual bool reconfigurable_io() const { return false; }
|
|
||||||
|
|
||||||
protected:
|
|
||||||
friend class PluginManager;
|
|
||||||
uint32_t index;
|
|
||||||
};
|
|
||||||
|
|
||||||
typedef boost::shared_ptr<PluginInfo> PluginInfoPtr;
|
typedef boost::shared_ptr<PluginInfo> PluginInfoPtr;
|
||||||
typedef std::list<PluginInfoPtr> PluginInfoList;
|
typedef std::list<PluginInfoPtr> PluginInfoList;
|
||||||
|
|
||||||
|
|
@ -353,6 +317,42 @@ typedef std::list<PluginPresetPtr> PluginPresetList;
|
||||||
|
|
||||||
PluginPtr find_plugin(ARDOUR::Session&, std::string unique_id, ARDOUR::PluginType);
|
PluginPtr find_plugin(ARDOUR::Session&, std::string unique_id, ARDOUR::PluginType);
|
||||||
|
|
||||||
|
class LIBARDOUR_API PluginInfo {
|
||||||
|
public:
|
||||||
|
PluginInfo () { }
|
||||||
|
virtual ~PluginInfo () { }
|
||||||
|
|
||||||
|
std::string name;
|
||||||
|
std::string category;
|
||||||
|
std::string creator;
|
||||||
|
std::string path;
|
||||||
|
ChanCount n_inputs;
|
||||||
|
ChanCount n_outputs;
|
||||||
|
ARDOUR::PluginType type;
|
||||||
|
|
||||||
|
std::string unique_id;
|
||||||
|
|
||||||
|
virtual PluginPtr load (Session& session) = 0;
|
||||||
|
virtual bool is_instrument() const;
|
||||||
|
virtual bool in_category (const std::string &) const { return false; }
|
||||||
|
|
||||||
|
/* NOTE: this block of virtual methods looks like the interface
|
||||||
|
to a Processor, but Plugin does not inherit from Processor.
|
||||||
|
It is therefore not required that these precisely match
|
||||||
|
the interface, but it is likely that they will evolve together.
|
||||||
|
*/
|
||||||
|
|
||||||
|
/* this returns true if the plugin can change its inputs or outputs on demand.
|
||||||
|
LADSPA, LV2 and VST plugins cannot do this. AudioUnits can.
|
||||||
|
*/
|
||||||
|
|
||||||
|
virtual bool reconfigurable_io() const { return false; }
|
||||||
|
|
||||||
|
protected:
|
||||||
|
friend class PluginManager;
|
||||||
|
uint32_t index;
|
||||||
|
};
|
||||||
|
|
||||||
} // namespace ARDOUR
|
} // namespace ARDOUR
|
||||||
|
|
||||||
#endif /* __ardour_plugin_h__ */
|
#endif /* __ardour_plugin_h__ */
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue