const'ness FTW
This commit is contained in:
parent
8975f6c8d2
commit
1d60986283
@ -76,7 +76,7 @@ class LIBARDOUR_API PluginManager : public boost::noncopyable {
|
|||||||
void load_statuses ();
|
void load_statuses ();
|
||||||
void save_statuses ();
|
void save_statuses ();
|
||||||
void set_status (ARDOUR::PluginType type, std::string unique_id, PluginStatusType status);
|
void set_status (ARDOUR::PluginType type, std::string unique_id, PluginStatusType status);
|
||||||
PluginStatusType get_status (const PluginInfoPtr&);
|
PluginStatusType get_status (const PluginInfoPtr&) const;
|
||||||
|
|
||||||
/** 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;
|
||||||
|
@ -1242,7 +1242,7 @@ PluginManager::lxvst_discover (string path, bool cache_only)
|
|||||||
|
|
||||||
|
|
||||||
PluginManager::PluginStatusType
|
PluginManager::PluginStatusType
|
||||||
PluginManager::get_status (const PluginInfoPtr& pi)
|
PluginManager::get_status (const PluginInfoPtr& pi) const
|
||||||
{
|
{
|
||||||
PluginStatus ps (pi->type, pi->unique_id);
|
PluginStatus ps (pi->type, pi->unique_id);
|
||||||
PluginStatusList::const_iterator i = find (statuses.begin(), statuses.end(), ps);
|
PluginStatusList::const_iterator i = find (statuses.begin(), statuses.end(), ps);
|
||||||
|
Loading…
Reference in New Issue
Block a user