Addon.hpp
1 #pragma once
2 #include <score/plugins/UuidKey.hpp>
3 #include <score/plugins/qt_interfaces/PluginRequirements_QtInterface.hpp>
4 
5 #include <QImage>
6 
7 namespace score
8 {
9 class Plugin_QtInterface;
15 struct SCORE_LIB_BASE_EXPORT Addon
16 {
17  score::Plugin_QtInterface* plugin{};
18  UuidKey<Plugin> key; // Can be the same as plug-in's
19  QString path; // Path to the addon folder
20 
21  QString name;
22  QString version;
23  QString latestVersionAddress; // URL to a file containing the current version.
24 
25  QString shortDescription;
26  QString longDescription;
27  QImage smallImage;
28  QImage largeImage;
29  bool enabled = true;
30  bool corePlugin = false; // For plug-ins shipped with score
31 };
32 
37 SCORE_LIB_BASE_EXPORT
38 QString addonArchitecture();
39 }
40 
Definition: UuidKey.hpp:343
Definition: PluginRequirements_QtInterface.hpp:18
Base toolkit upon which the software is built.
Definition: Application.cpp:90
SCORE_LIB_BASE_EXPORT QString addonArchitecture()
addonArchitecture
Definition: Addon.cpp:10
The Addon struct.
Definition: Addon.hpp:16