score-lib-process/Process/ApplicationPlugin.hpp
1 #pragma once
2 #include <Process/Preset.hpp>
3 #include <Process/Process.hpp>
4 
5 #include <score/plugins/application/GUIApplicationPlugin.hpp>
6 
7 namespace Process
8 {
9 
10 class SCORE_LIB_PROCESS_EXPORT ApplicationPlugin
11  : public QObject
13 {
14  W_OBJECT(ApplicationPlugin)
15 public:
16  explicit ApplicationPlugin(const score::ApplicationContext& ctx);
17 
19 
20  void savePreset(const Process::ProcessModel* proc)
21  E_SIGNAL(SCORE_LIB_PROCESS_EXPORT, savePreset, proc)
22 
23  void addPreset(Process::Preset&& p);
24 
25  std::vector<Process::Preset> presets;
26 };
27 
28 }
Definition: score-lib-process/Process/ApplicationPlugin.hpp:13
The Process class.
Definition: score-lib-process/Process/Process.hpp:61
Definition: GUIApplicationPlugin.hpp:31
Base classes and tools to implement processes and layers.
Definition: JSONVisitor.hpp:1324
Definition: Preset.hpp:32
Used to access all the application-wide state and structures.
Definition: ApplicationContext.hpp:24