mirror of
https://github.com/Ardour/ardour.git
synced 2025-12-06 06:44:57 +01:00
Add flag to hide internal plugins from user
This commit is contained in:
parent
5b77e348e7
commit
bbbd023895
1 changed files with 5 additions and 0 deletions
|
|
@ -467,6 +467,7 @@ public:
|
|||
PluginInfo ()
|
||||
: multichannel_name_ambiguity (false)
|
||||
, plugintype_name_ambiguity (false)
|
||||
, internal (false)
|
||||
, index (0)
|
||||
{}
|
||||
|
||||
|
|
@ -512,8 +513,12 @@ public:
|
|||
return n_outputs.n_audio();
|
||||
}
|
||||
|
||||
/* hide from user */
|
||||
virtual bool is_internal () const { return internal; }
|
||||
|
||||
protected:
|
||||
friend class PluginManager;
|
||||
bool internal;
|
||||
uint32_t index; //< used for LADSPA, index in module
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue