commit 41a9ff2c701dfdb737e761761167ffb41ae68bc4 parent a828af73b4592cafc974a3f3dc52f3848ff43d11 Author: dsp56300 <dsp56300@users.noreply.github.com> Date: Thu, 30 May 2024 13:36:37 +0200 add version number of plugin to clipboard content Diffstat:
M | source/jucePluginEditorLib/pluginEditor.cpp | | | 3 | ++- |
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/source/jucePluginEditorLib/pluginEditor.cpp b/source/jucePluginEditorLib/pluginEditor.cpp @@ -3,6 +3,7 @@ #include "pluginProcessor.h" #include "../jucePluginLib/parameterbinding.h" +#include "../jucePluginLib/pluginVersion.h" #include "../synthLib/os.h" #include "../synthLib/sysexToMidi.h" @@ -243,7 +244,7 @@ namespace jucePluginEditorLib const auto time = juce::Time::getCurrentTime(); std::stringstream ss; - ss << getProcessor().getProperties().name << " - Patch copied at " << time.formatted("%Y.%m.%d %H:%M") << time.getUTCOffsetString(true); + ss << getProcessor().getProperties().name << " " << pluginLib::Version::getVersionString() << " - Patch copied at " << time.formatted("%Y.%m.%d %H:%M") << time.getUTCOffsetString(true); ss << '\n'; ss << "Patch '" << p->getName() << "' data:\n"; ss << "```\n";