diff --git a/Source/GUI/InterfaceDefines.h b/Source/GUI/InterfaceDefines.h index 609c419..514e299 100644 --- a/Source/GUI/InterfaceDefines.h +++ b/Source/GUI/InterfaceDefines.h @@ -10,9 +10,9 @@ #pragma once -#include "../../JuceLibraryCode/JucePluginDefines.h" +//#include "../../JuceLibraryCode/JucePluginDefines.h" -#define VERSION JucePlugin_VersionString +#define VERSION "1.0.1" #define GITHUB_LINK "https://github.com/jerryuhoo/Fire" #define GITHUB_TAG_LINK "https://github.com/jerryuhoo/Fire/releases/tag/" #define PRESET_EXETENSION ".fire" diff --git a/Source/Panels/SpectrogramPanel/FFTProcessor.h b/Source/Panels/SpectrogramPanel/FFTProcessor.h index c5994b9..2ba1b3b 100644 --- a/Source/Panels/SpectrogramPanel/FFTProcessor.h +++ b/Source/Panels/SpectrogramPanel/FFTProcessor.h @@ -9,6 +9,7 @@ */ #pragma once +#include "juce_dsp/juce_dsp.h" class SpectrumProcessor { diff --git a/Source/Panels/TopPanel/Preset.h b/Source/Panels/TopPanel/Preset.h index 2c5fa4b..d3203f3 100644 --- a/Source/Panels/TopPanel/Preset.h +++ b/Source/Panels/TopPanel/Preset.h @@ -13,6 +13,7 @@ #define STATE_H_INCLUDED #include "juce_gui_basics/juce_gui_basics.h" +#include "juce_audio_processors/juce_audio_processors.h" #include "../../GUI/LookAndFeel.h" #include "../../Utility/VersionInfo.h" #include "../../GUI/InterfaceDefines.h" diff --git a/Source/PluginEditor.h b/Source/PluginEditor.h index ca55baf..f6fbe5a 100644 --- a/Source/PluginEditor.h +++ b/Source/PluginEditor.h @@ -10,6 +10,7 @@ #pragma once +#include "BinaryData.h" #include "GUI/LookAndFeel.h" #include "Panels/ControlPanel/Graph Components/Oscilloscope.h" #include "Panels/ControlPanel/Graph Components/DistortionGraph.h" diff --git a/Source/Utility/AudioHelpers.h b/Source/Utility/AudioHelpers.h index 83b27ba..f7aebfd 100644 --- a/Source/Utility/AudioHelpers.h +++ b/Source/Utility/AudioHelpers.h @@ -9,6 +9,7 @@ */ #pragma once +#include "juce_dsp/juce_dsp.h" static inline float dBToNormalizedGain(float inValue) { diff --git a/Source/Utility/VersionInfo.cpp b/Source/Utility/VersionInfo.cpp index d0e7557..da044f3 100644 --- a/Source/Utility/VersionInfo.cpp +++ b/Source/Utility/VersionInfo.cpp @@ -59,7 +59,7 @@ bool VersionInfo::isNewerVersionThanCurrent() { jassert (versionString.isNotEmpty()); - auto currentTokens = juce::StringArray::fromTokens (ProjectInfo::versionString, ".", {}); + auto currentTokens = juce::StringArray::fromTokens (VERSION, ".", {}); auto thisTokens = juce::StringArray::fromTokens (versionString, ".", {}); jassert (thisTokens.size() == 3); diff --git a/Source/Utility/VersionInfo.h b/Source/Utility/VersionInfo.h index a8e6a81..709ba83 100644 --- a/Source/Utility/VersionInfo.h +++ b/Source/Utility/VersionInfo.h @@ -25,7 +25,7 @@ #pragma once #include "juce_core/juce_core.h" -#include "JuceHeader.h" +#include "../GUI/InterfaceDefines.h" //============================================================================== class VersionInfo