73 void initialize()
override;
76 const std::vector<PluginInfo>& cachedDescriptors()
const noexcept
81 const PluginInfo* findDescriptor(
const QString& uri_or_bundle)
const noexcept;
84 void ensureBundleLoaded(
const QString& uri_or_bundle);
87 void setCachedDescriptors(std::vector<PluginInfo> descriptors);
90 void descriptorsChanged() E_SIGNAL(SCORE_PLUGIN_LV2_EXPORT, descriptorsChanged);
94 std::unique_ptr<LV2::GlobalContext> lv2_context;
97 const libsuil& suil = libsuil::instance();
103 void rescanBundles();
104 void onScanned(
const QString& bundlePath,
const class QJsonObject& obj);
105 void addPluginsFromJson(
const QString& bundlePath,
const class QJsonArray& arr);
106 void markBundleInvalid(
const QString& bundlePath);
109 QStringList discoverLv2Search();
110 static QStringList discoverBundles(
const QStringList& search);
112 static QStringList discoverSpecBundles(
const QStringList& bundles);
114#if QT_CONFIG(process)
115 std::unique_ptr<Media::PluginScanner> m_scanner;
119 std::vector<PluginInfo> m_plugins;
121 ossia::hash_set<QString> m_loaded_bundles;
123 QStringList m_spec_bundles;
126 class QTimer* m_persistTimer{};
Definition Context.hpp:60
Used to access all the application-wide state and structures.
Definition ApplicationContext.hpp:25