Add flag to hide internal plugins from user

This commit is contained in:
Robin Gareus 2023-11-09 02:01:54 +01:00
parent 5b77e348e7
commit bbbd023895
Signed by: rgareus
GPG Key ID: A090BCE02CF57F04
1 changed files with 5 additions and 0 deletions

View File

@ -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
};