add signal for Plugin Status Changes (Hidden/Favorite)
This commit is contained in:
parent
a7b236561c
commit
dc20611933
@ -78,6 +78,8 @@ class LIBARDOUR_API PluginManager : public boost::noncopyable {
|
|||||||
|
|
||||||
/** plugins were added to or removed from one of the PluginInfoLists */
|
/** plugins were added to or removed from one of the PluginInfoLists */
|
||||||
PBD::Signal0<void> PluginListChanged;
|
PBD::Signal0<void> PluginListChanged;
|
||||||
|
/** Plugin Hidden/Favorite status changed */
|
||||||
|
PBD::Signal0<void> PluginStatusesChanged;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
struct PluginStatus {
|
struct PluginStatus {
|
||||||
|
@ -1123,6 +1123,7 @@ PluginManager::save_statuses ()
|
|||||||
ofs << endl;
|
ofs << endl;
|
||||||
}
|
}
|
||||||
g_file_set_contents (path.c_str(), ofs.str().c_str(), -1, NULL);
|
g_file_set_contents (path.c_str(), ofs.str().c_str(), -1, NULL);
|
||||||
|
PluginStatusesChanged (); /* EMIT SIGNAL */
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
void
|
||||||
|
Loading…
Reference in New Issue
Block a user