void set_status (ARDOUR::PluginType type, std::string unique_id, PluginStatusType status);
PluginStatusType get_status (const PluginInfoPtr&);
+ /** plugins were added to or removed from one of the PluginInfoLists */
+ PBD::Signal0<void> PluginListChanged;
+
private:
struct PluginStatus {
ARDOUR::PluginType type;
}
bool operator<(const PluginStatus& other) const {
- return other.type < type || other.unique_id < unique_id;
+ if (other.type < type) {
+ return true;
+ } else if (other.type == type && other.unique_id < unique_id) {
+ return true;
+ }
+ return false;
}
};
typedef std::set<PluginStatus> PluginStatusList;