score-plugin-lv2/LV2/ApplicationPlugin.hpp
1 #pragma once
2 #include <LV2/Context.hpp>
3 #include <LV2/Suil.hpp>
4 
5 #include <score/plugins/application/GUIApplicationPlugin.hpp>
6 
7 #include <ossia/detail/hash_map.hpp>
8 
9 #include <QProcess>
10 
11 #include <lilv/lilvmm.hpp>
12 
13 #include <thread>
14 #include <verdigris>
15 
16 namespace LV2
17 {
18 struct HostContext;
19 struct GlobalContext;
20 
22  : public QObject
24 {
25  W_OBJECT(ApplicationPlugin)
26 public:
27  explicit ApplicationPlugin(const score::ApplicationContext& app);
28  void initialize() override;
29  ~ApplicationPlugin() override;
30 
31 public:
32  Lilv::World lilv;
33  std::unique_ptr<LV2::GlobalContext> lv2_context;
34  LV2::HostContext lv2_host_context;
35 
36  const libsuil& suil = libsuil::instance();
37 };
38 
39 }
Definition: score-plugin-lv2/LV2/ApplicationPlugin.hpp:24
void initialize() override
initialize
Definition: score-plugin-lv2/LV2/ApplicationPlugin.cpp:93
Definition: Suil.hpp:10
Definition: GUIApplicationPlugin.hpp:31
Definition: Context.hpp:49
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24