20 #ifndef __ardour_plugin_manager_h__
21 #define __ardour_plugin_manager_h__
24 #include "libardour-config.h"
31 #include <boost/utility.hpp>
54 void refresh (
bool cache_only =
false);
55 void cancel_plugin_scan();
56 void cancel_plugin_timeout();
57 void clear_vst_cache ();
58 void clear_vst_blacklist ();
59 void clear_au_cache ();
60 void clear_au_blacklist ();
74 void load_statuses ();
75 void save_statuses ();
76 void set_status (
ARDOUR::PluginType type, std::string unique_id, PluginStatusType status);
89 : type (t), unique_id (id), status (s) {}
96 if (other.
type < type) {
98 }
else if (other.
type == type && other.
unique_id < unique_id) {
122 void ladspa_refresh ();
123 void windows_vst_refresh (
bool cache_only =
false);
124 void lxvst_refresh (
bool cache_only =
false);
126 void add_lrdf_data (
const std::string &path);
127 void add_ladspa_presets ();
128 void add_windows_vst_presets ();
129 void add_lxvst_presets ();
130 void add_presets (std::string domain);
132 void au_refresh (
bool cache_only =
false);
136 int windows_vst_discover_from_path (std::string path,
bool cache_only =
false);
137 int windows_vst_discover (std::string path,
bool cache_only =
false);
139 int lxvst_discover_from_path (std::string path,
bool cache_only =
false);
140 int lxvst_discover (std::string path,
bool cache_only =
false);
142 int ladspa_discover (std::string path);
144 std::string get_ladspa_category (uint32_t
id);
ARDOUR::PluginInfoList * _au_plugin_info
std::set< PluginStatus > PluginStatusList
PluginStatus(ARDOUR::PluginType t, std::string id, PluginStatusType s=Normal)
PluginStatusList statuses
ARDOUR::PluginInfoList * _windows_vst_plugin_info
std::map< uint32_t, std::string > rdf_type
ARDOUR::PluginInfoList * _lv2_plugin_info
ARDOUR::PluginInfoList _empty_plugin_info
const std::string get_default_windows_vst_path() const
LIBARDOUR_API uint64_t PluginManager
PBD::Signal0< void > PluginListChanged
static PluginManager * _instance
std::string windows_vst_path
bool operator==(const PluginStatus &other) const
static std::string scanner_bin_path
std::vector< uint32_t > ladspa_plugin_whitelist
ARDOUR::PluginInfoList * _ladspa_plugin_info
ARDOUR::PluginInfoList * _lxvst_plugin_info
bool operator<(const PluginStatus &other) const
std::list< PluginInfoPtr > PluginInfoList
const std::string get_default_lxvst_path() const