diff options
author | Robin Gareus <robin@gareus.org> | 2018-12-18 13:35:39 +0100 |
---|---|---|
committer | Robin Gareus <robin@gareus.org> | 2018-12-18 14:13:15 +0100 |
commit | e4304f3bf2daa24395f7b520476115ca418ad93e (patch) | |
tree | b3f902b5cd0068ba697ac6a81e9839efc7337458 /libs/ardour/ardour/plugin.h | |
parent | 0a3fc4a87fcdab7f7c1ed95d42ec7ac28c95c3e1 (diff) |
Wouldn't it be nice if plugin presets had a description/comment?
Diffstat (limited to 'libs/ardour/ardour/plugin.h')
-rw-r--r-- | libs/ardour/ardour/plugin.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libs/ardour/ardour/plugin.h b/libs/ardour/ardour/plugin.h index 7ae524b0eb..a22d138770 100644 --- a/libs/ardour/ardour/plugin.h +++ b/libs/ardour/ardour/plugin.h @@ -190,7 +190,8 @@ class LIBARDOUR_API Plugin : public PBD::StatefulDestructible, public Latent struct PresetRecord { PresetRecord () : valid (false) {} - PresetRecord (const std::string& u, const std::string& l, bool s = true) : uri (u), label (l), user (s), valid (true) {} + PresetRecord (const std::string& u, const std::string& l, bool s = true, const std::string& d = "") + : uri (u), label (l), description (d), user (s), valid (true) {} bool operator!= (PresetRecord const & a) const { return uri != a.uri || label != a.label; @@ -198,6 +199,7 @@ class LIBARDOUR_API Plugin : public PBD::StatefulDestructible, public Latent std::string uri; std::string label; + std::string description; bool user; bool valid; }; |