2 #include <Vst/Loader.hpp>
4 #include <score/plugins/application/GUIApplicationPlugin.hpp>
6 #include <ossia/detail/hash_map.hpp>
8 #include <QElapsedTimer>
12 #include <QWebSocketServer>
41 void rescanVSTs(QStringList);
42 void processIncomingMessage(
const QString& txt);
43 void addInvalidVST(
const QString& path);
44 void addVST(
const QString& path,
const QJsonObject& json);
47 void registerRunningVST(vst::Model*);
48 void unregisterRunningVST(vst::Model*);
52 void vstChanged() W_SIGNAL(vstChanged)
54 std::vector<VSTInfo> vst_infos;
55 ossia::hash_map<int32_t, vst::Module*> vst_modules;
57 const std::thread::id m_tid{std::this_thread::get_id()};
58 auto mainThreadId()
const noexcept {
return m_tid; }
59 std::vector<vst::Model*> m_runningVSTs;
61 #if QT_CONFIG(process)
62 struct ScanningProcess
65 std::unique_ptr<QProcess> process;
70 std::vector<ScanningProcess> m_processes;
73 QWebSocketServer m_wsServer;
76 void timerEvent(QTimerEvent* event)
override;
Definition: GUIApplicationPlugin.hpp:31
Used to extend the software with application-wide data.
Definition: GUIApplicationPlugin.hpp:89
Definition: score-plugin-vst/Vst/ApplicationPlugin.hpp:34
void initialize() override
initialize
Definition: score-plugin-vst/Vst/ApplicationPlugin.cpp:82
Definition: score-plugin-vst/Vst/ApplicationPlugin.hpp:82
void initialize() override
initialize
Definition: score-plugin-vst/Vst/ApplicationPlugin.cpp:363
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24
Specializes ApplicationContext with the QMainWindow.
Definition: GUIApplicationContext.hpp:15
Definition: score-plugin-vst/Vst/ApplicationPlugin.hpp:19