Add flag to hide internal plugins from user
This commit is contained in:
parent
5b77e348e7
commit
bbbd023895
@ -467,6 +467,7 @@ public:
|
|||||||
PluginInfo ()
|
PluginInfo ()
|
||||||
: multichannel_name_ambiguity (false)
|
: multichannel_name_ambiguity (false)
|
||||||
, plugintype_name_ambiguity (false)
|
, plugintype_name_ambiguity (false)
|
||||||
|
, internal (false)
|
||||||
, index (0)
|
, index (0)
|
||||||
{}
|
{}
|
||||||
|
|
||||||
@ -512,8 +513,12 @@ public:
|
|||||||
return n_outputs.n_audio();
|
return n_outputs.n_audio();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/* hide from user */
|
||||||
|
virtual bool is_internal () const { return internal; }
|
||||||
|
|
||||||
protected:
|
protected:
|
||||||
friend class PluginManager;
|
friend class PluginManager;
|
||||||
|
bool internal;
|
||||||
uint32_t index; //< used for LADSPA, index in module
|
uint32_t index; //< used for LADSPA, index in module
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user