From 696939069da602debf8ca3d6d5bc4d614e555c1a Mon Sep 17 00:00:00 2001 From: Andrew Belt Date: Fri, 24 May 2019 23:26:10 -0400 Subject: [PATCH] Use <> instead of "" for include directive. --- helper.py | 2 +- include/Quantity.hpp | 2 +- include/app.hpp | 2 +- include/app/AudioWidget.hpp | 6 +- include/app/CableWidget.hpp | 10 +- include/app/CircularShadow.hpp | 4 +- include/app/Knob.hpp | 6 +- include/app/LedDisplay.hpp | 8 +- include/app/LightWidget.hpp | 4 +- include/app/MenuBar.hpp | 4 +- include/app/MidiWidget.hpp | 6 +- include/app/ModuleBrowser.hpp | 4 +- include/app/ModuleLightWidget.hpp | 6 +- include/app/ModuleWidget.hpp | 14 +-- include/app/MultiLightWidget.hpp | 4 +- include/app/ParamWidget.hpp | 10 +- include/app/PortWidget.hpp | 8 +- include/app/RackRail.hpp | 4 +- include/app/RackScrollWidget.hpp | 8 +- include/app/RackWidget.hpp | 16 +-- include/app/Scene.hpp | 10 +- include/app/SliderKnob.hpp | 4 +- include/app/SvgButton.hpp | 10 +- include/app/SvgKnob.hpp | 12 +- include/app/SvgPanel.hpp | 10 +- include/app/SvgPort.hpp | 10 +- include/app/SvgScrew.hpp | 8 +- include/app/SvgSlider.hpp | 8 +- include/app/SvgSwitch.hpp | 10 +- include/app/Switch.hpp | 4 +- include/app/common.hpp | 4 +- include/asset.hpp | 2 +- include/audio.hpp | 2 +- include/bridge.hpp | 4 +- include/color.hpp | 4 +- include/common.hpp | 2 +- include/componentlibrary.hpp | 14 +-- include/dsp/common.hpp | 4 +- include/dsp/digital.hpp | 2 +- include/dsp/fft.hpp | 2 +- include/dsp/filter.hpp | 2 +- include/dsp/fir.hpp | 2 +- include/dsp/minblep.hpp | 2 +- include/dsp/ode.hpp | 2 +- include/dsp/resampler.hpp | 8 +- include/dsp/ringbuffer.hpp | 2 +- include/dsp/vumeter.hpp | 2 +- include/dsp/window.hpp | 2 +- include/engine/Cable.hpp | 4 +- include/engine/Engine.hpp | 8 +- include/engine/Light.hpp | 2 +- include/engine/Module.hpp | 14 +-- include/engine/Param.hpp | 4 +- include/engine/ParamHandle.hpp | 6 +- include/engine/ParamQuantity.hpp | 4 +- include/engine/Port.hpp | 4 +- include/event.hpp | 4 +- include/gamepad.hpp | 2 +- include/helpers.hpp | 24 ++-- include/history.hpp | 8 +- include/keyboard.hpp | 2 +- include/math.hpp | 2 +- include/midi.hpp | 2 +- include/network.hpp | 2 +- include/patch.hpp | 2 +- include/plugin.hpp | 6 +- include/plugin/Model.hpp | 4 +- include/plugin/Plugin.hpp | 2 +- include/plugin/callbacks.hpp | 2 +- include/rack.hpp | 170 +++++++++++++-------------- include/rack0.hpp | 2 +- include/random.hpp | 2 +- include/rtmidi.hpp | 2 +- include/settings.hpp | 6 +- include/simd/functions.hpp | 9 +- include/string.hpp | 2 +- include/svg.hpp | 2 +- include/system.hpp | 2 +- include/ui.hpp | 4 +- include/ui/Button.hpp | 6 +- include/ui/ChoiceButton.hpp | 4 +- include/ui/IconButton.hpp | 8 +- include/ui/Label.hpp | 4 +- include/ui/List.hpp | 4 +- include/ui/MarginLayout.hpp | 4 +- include/ui/Menu.hpp | 6 +- include/ui/MenuEntry.hpp | 4 +- include/ui/MenuItem.hpp | 8 +- include/ui/MenuLabel.hpp | 4 +- include/ui/MenuOverlay.hpp | 4 +- include/ui/MenuSeparator.hpp | 4 +- include/ui/PasswordField.hpp | 4 +- include/ui/ProgressBar.hpp | 6 +- include/ui/RadioButton.hpp | 10 +- include/ui/ScrollBar.hpp | 4 +- include/ui/ScrollWidget.hpp | 6 +- include/ui/SequentialLayout.hpp | 4 +- include/ui/Slider.hpp | 8 +- include/ui/TextField.hpp | 6 +- include/ui/Tooltip.hpp | 4 +- include/ui/TooltipOverlay.hpp | 4 +- include/ui/common.hpp | 2 +- include/widget/FramebufferWidget.hpp | 2 +- include/widget/OpaqueWidget.hpp | 2 +- include/widget/OpenGlWidget.hpp | 2 +- include/widget/SvgWidget.hpp | 4 +- include/widget/TransformWidget.hpp | 2 +- include/widget/TransparentWidget.hpp | 2 +- include/widget/Widget.hpp | 10 +- include/widget/ZoomWidget.hpp | 2 +- include/window.hpp | 4 +- src/Core/AudioInterface.cpp | 7 +- src/Core/Blank.cpp | 4 +- src/Core/MIDI_CV.cpp | 1 - src/Core/Notes.cpp | 3 - src/Core/plugin.hpp | 2 +- src/Quantity.cpp | 4 +- src/app.cpp | 14 +-- src/app/AudioWidget.cpp | 4 +- src/app/CableWidget.cpp | 16 +-- src/app/CircularShadow.cpp | 2 +- src/app/Knob.cpp | 10 +- src/app/LedDisplay.cpp | 8 +- src/app/LightWidget.cpp | 4 +- src/app/MenuBar.cpp | 34 +++--- src/app/MidiWidget.cpp | 4 +- src/app/ModuleBrowser.cpp | 48 ++++---- src/app/ModuleLightWidget.cpp | 2 +- src/app/ModuleWidget.cpp | 26 ++-- src/app/MultiLightWidget.cpp | 4 +- src/app/ParamWidget.cpp | 18 +-- src/app/PortWidget.cpp | 12 +- src/app/RackRail.cpp | 8 +- src/app/RackScrollWidget.cpp | 10 +- src/app/RackWidget.cpp | 24 ++-- src/app/Scene.cpp | 20 ++-- src/app/SvgButton.cpp | 2 +- src/app/SvgKnob.cpp | 2 +- src/app/SvgPanel.cpp | 2 +- src/app/SvgPort.cpp | 2 +- src/app/SvgScrew.cpp | 2 +- src/app/SvgSlider.cpp | 2 +- src/app/SvgSwitch.cpp | 2 +- src/app/Switch.cpp | 10 +- src/app/common.cpp | 6 +- src/asset.cpp | 10 +- src/audio.cpp | 10 +- src/bridge.cpp | 8 +- src/color.cpp | 4 +- src/dsp/minblep.cpp | 6 +- src/engine/Cable.cpp | 2 +- src/engine/Engine.cpp | 8 +- src/engine/Module.cpp | 2 +- src/engine/ParamQuantity.cpp | 6 +- src/engine/Port.cpp | 2 +- src/event.cpp | 8 +- src/gamepad.cpp | 8 +- src/history.cpp | 10 +- src/keyboard.cpp | 6 +- src/logger.cpp | 6 +- src/main.cpp | 34 +++--- src/midi.cpp | 4 +- src/network.cpp | 2 +- src/patch.cpp | 20 ++-- src/plugin.cpp | 18 +-- src/plugin/Model.cpp | 2 +- src/plugin/Plugin.cpp | 4 +- src/random.cpp | 4 +- src/rtmidi.cpp | 4 +- src/settings.cpp | 16 +-- src/string.cpp | 2 +- src/svg.cpp | 4 +- src/system.cpp | 4 +- src/ui.cpp | 2 +- src/ui/Button.cpp | 6 +- src/ui/ChoiceButton.cpp | 6 +- src/ui/IconButton.cpp | 2 +- src/ui/Label.cpp | 2 +- src/ui/List.cpp | 2 +- src/ui/MarginLayout.cpp | 2 +- src/ui/Menu.cpp | 2 +- src/ui/MenuEntry.cpp | 2 +- src/ui/MenuItem.cpp | 4 +- src/ui/MenuLabel.cpp | 4 +- src/ui/MenuOverlay.cpp | 2 +- src/ui/MenuSeparator.cpp | 2 +- src/ui/PasswordField.cpp | 2 +- src/ui/ProgressBar.cpp | 2 +- src/ui/RadioButton.cpp | 2 +- src/ui/ScrollBar.cpp | 8 +- src/ui/ScrollWidget.cpp | 4 +- src/ui/SequentialLayout.cpp | 2 +- src/ui/Slider.cpp | 2 +- src/ui/TextField.cpp | 2 +- src/ui/Tooltip.cpp | 6 +- src/widget/FramebufferWidget.cpp | 6 +- src/widget/OpenGlWidget.cpp | 4 +- src/widget/SvgWidget.cpp | 4 +- src/widget/Widget.cpp | 4 +- src/widget/ZoomWidget.cpp | 2 +- src/window.cpp | 22 ++-- 201 files changed, 683 insertions(+), 693 deletions(-) diff --git a/helper.py b/helper.py index f6287a80..4f9b6a5b 100755 --- a/helper.py +++ b/helper.py @@ -93,7 +93,7 @@ include $(RACK_DIR)/plugin.mk f.write(makefile) # Create plugin.hpp - plugin_hpp = """#include "rack.hpp" + plugin_hpp = """#include using namespace rack; diff --git a/include/Quantity.hpp b/include/Quantity.hpp index e1b0f352..b1f7ff77 100644 --- a/include/Quantity.hpp +++ b/include/Quantity.hpp @@ -1,5 +1,5 @@ #pragma once -#include "math.hpp" +#include namespace rack { diff --git a/include/app.hpp b/include/app.hpp index 264aaa5f..0d916fe8 100644 --- a/include/app.hpp +++ b/include/app.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include namespace rack { diff --git a/include/app/AudioWidget.hpp b/include/app/AudioWidget.hpp index 6ee2a540..cc09acfe 100644 --- a/include/app/AudioWidget.hpp +++ b/include/app/AudioWidget.hpp @@ -1,7 +1,7 @@ #pragma once -#include "app/common.hpp" -#include "app/LedDisplay.hpp" -#include "audio.hpp" +#include +#include +#include namespace rack { diff --git a/include/app/CableWidget.hpp b/include/app/CableWidget.hpp index 198057e4..5ebc1e68 100644 --- a/include/app/CableWidget.hpp +++ b/include/app/CableWidget.hpp @@ -1,9 +1,9 @@ #pragma once -#include "app/common.hpp" -#include "widget/OpaqueWidget.hpp" -#include "app/PortWidget.hpp" -#include "app/ModuleWidget.hpp" -#include "engine/Cable.hpp" +#include +#include +#include +#include +#include #include diff --git a/include/app/CircularShadow.hpp b/include/app/CircularShadow.hpp index 06099d30..f16602ba 100644 --- a/include/app/CircularShadow.hpp +++ b/include/app/CircularShadow.hpp @@ -1,6 +1,6 @@ #pragma once -#include "app/common.hpp" -#include "widget/TransparentWidget.hpp" +#include +#include namespace rack { diff --git a/include/app/Knob.hpp b/include/app/Knob.hpp index 4442ad2a..9cc3075d 100644 --- a/include/app/Knob.hpp +++ b/include/app/Knob.hpp @@ -1,7 +1,7 @@ #pragma once -#include "app/common.hpp" -#include "app/ParamWidget.hpp" -#include "app.hpp" +#include +#include +#include namespace rack { diff --git a/include/app/LedDisplay.hpp b/include/app/LedDisplay.hpp index ac1f625b..366b4c5a 100644 --- a/include/app/LedDisplay.hpp +++ b/include/app/LedDisplay.hpp @@ -1,8 +1,8 @@ #pragma once -#include "app/common.hpp" -#include "widget/Widget.hpp" -#include "widget/OpaqueWidget.hpp" -#include "ui/TextField.hpp" +#include +#include +#include +#include namespace rack { diff --git a/include/app/LightWidget.hpp b/include/app/LightWidget.hpp index e26a2234..1849fda5 100644 --- a/include/app/LightWidget.hpp +++ b/include/app/LightWidget.hpp @@ -1,6 +1,6 @@ #pragma once -#include "app/common.hpp" -#include "widget/TransparentWidget.hpp" +#include +#include namespace rack { diff --git a/include/app/MenuBar.hpp b/include/app/MenuBar.hpp index 5b4e7b1f..2d7a1fba 100644 --- a/include/app/MenuBar.hpp +++ b/include/app/MenuBar.hpp @@ -1,6 +1,6 @@ #pragma once -#include "app/common.hpp" -#include "widget/OpaqueWidget.hpp" +#include +#include namespace rack { diff --git a/include/app/MidiWidget.hpp b/include/app/MidiWidget.hpp index 707b2ff8..de302827 100644 --- a/include/app/MidiWidget.hpp +++ b/include/app/MidiWidget.hpp @@ -1,7 +1,7 @@ #pragma once -#include "app/common.hpp" -#include "app/LedDisplay.hpp" -#include "midi.hpp" +#include +#include +#include namespace rack { diff --git a/include/app/ModuleBrowser.hpp b/include/app/ModuleBrowser.hpp index b62664ae..7eaa38b6 100644 --- a/include/app/ModuleBrowser.hpp +++ b/include/app/ModuleBrowser.hpp @@ -1,6 +1,6 @@ #pragma once -#include "app/common.hpp" -#include "widget/Widget.hpp" +#include +#include namespace rack { diff --git a/include/app/ModuleLightWidget.hpp b/include/app/ModuleLightWidget.hpp index b702c2ea..679b2aa5 100644 --- a/include/app/ModuleLightWidget.hpp +++ b/include/app/ModuleLightWidget.hpp @@ -1,7 +1,7 @@ #pragma once -#include "app/common.hpp" -#include "app/MultiLightWidget.hpp" -#include "engine/Module.hpp" +#include +#include +#include namespace rack { diff --git a/include/app/ModuleWidget.hpp b/include/app/ModuleWidget.hpp index f0a010f6..0ee314df 100644 --- a/include/app/ModuleWidget.hpp +++ b/include/app/ModuleWidget.hpp @@ -1,11 +1,11 @@ #pragma once -#include "app/common.hpp" -#include "widget/OpaqueWidget.hpp" -#include "ui/Menu.hpp" -#include "app/PortWidget.hpp" -#include "app/ParamWidget.hpp" -#include "plugin/Model.hpp" -#include "engine/Module.hpp" +#include +#include +#include +#include +#include +#include +#include namespace rack { diff --git a/include/app/MultiLightWidget.hpp b/include/app/MultiLightWidget.hpp index 52f1fd7f..64acc2af 100644 --- a/include/app/MultiLightWidget.hpp +++ b/include/app/MultiLightWidget.hpp @@ -1,6 +1,6 @@ #pragma once -#include "app/common.hpp" -#include "app/LightWidget.hpp" +#include +#include namespace rack { diff --git a/include/app/ParamWidget.hpp b/include/app/ParamWidget.hpp index 02a5acc6..9bc55063 100644 --- a/include/app/ParamWidget.hpp +++ b/include/app/ParamWidget.hpp @@ -1,9 +1,9 @@ #pragma once -#include "app/common.hpp" -#include "widget/OpaqueWidget.hpp" -#include "ui/Tooltip.hpp" -#include "engine/ParamQuantity.hpp" -#include "history.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/include/app/PortWidget.hpp b/include/app/PortWidget.hpp index 821af288..b0c421eb 100644 --- a/include/app/PortWidget.hpp +++ b/include/app/PortWidget.hpp @@ -1,8 +1,8 @@ #pragma once -#include "app/common.hpp" -#include "widget/OpaqueWidget.hpp" -#include "app/MultiLightWidget.hpp" -#include "engine/Module.hpp" +#include +#include +#include +#include namespace rack { diff --git a/include/app/RackRail.hpp b/include/app/RackRail.hpp index 4e7e2a2d..e7ca67e7 100644 --- a/include/app/RackRail.hpp +++ b/include/app/RackRail.hpp @@ -1,6 +1,6 @@ #pragma once -#include "app/common.hpp" -#include "widget/TransparentWidget.hpp" +#include +#include namespace rack { diff --git a/include/app/RackScrollWidget.hpp b/include/app/RackScrollWidget.hpp index c7eedbd1..12554303 100644 --- a/include/app/RackScrollWidget.hpp +++ b/include/app/RackScrollWidget.hpp @@ -1,8 +1,8 @@ #pragma once -#include "app/common.hpp" -#include "ui/ScrollWidget.hpp" -#include "widget/ZoomWidget.hpp" -#include "app/RackWidget.hpp" +#include +#include +#include +#include namespace rack { diff --git a/include/app/RackWidget.hpp b/include/app/RackWidget.hpp index 7bbac58a..468fd62c 100644 --- a/include/app/RackWidget.hpp +++ b/include/app/RackWidget.hpp @@ -1,12 +1,12 @@ #pragma once -#include "app/common.hpp" -#include "widget/OpaqueWidget.hpp" -#include "widget/FramebufferWidget.hpp" -#include "app/ModuleWidget.hpp" -#include "app/CableWidget.hpp" -#include "app/PortWidget.hpp" -#include "app/ParamWidget.hpp" -#include "history.hpp" +#include +#include +#include +#include +#include +#include +#include +#include #include diff --git a/include/app/Scene.hpp b/include/app/Scene.hpp index ecd953c9..83f7088a 100644 --- a/include/app/Scene.hpp +++ b/include/app/Scene.hpp @@ -1,9 +1,9 @@ #pragma once -#include "app/common.hpp" -#include "widget/OpaqueWidget.hpp" -#include "app/RackScrollWidget.hpp" -#include "app/RackWidget.hpp" -#include "app/MenuBar.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/include/app/SliderKnob.hpp b/include/app/SliderKnob.hpp index 1acfca67..95d5cd68 100644 --- a/include/app/SliderKnob.hpp +++ b/include/app/SliderKnob.hpp @@ -1,6 +1,6 @@ #pragma once -#include "app/common.hpp" -#include "app/Knob.hpp" +#include +#include namespace rack { diff --git a/include/app/SvgButton.hpp b/include/app/SvgButton.hpp index 32286838..973a83e9 100644 --- a/include/app/SvgButton.hpp +++ b/include/app/SvgButton.hpp @@ -1,9 +1,9 @@ #pragma once -#include "app/common.hpp" -#include "widget/OpaqueWidget.hpp" -#include "widget/FramebufferWidget.hpp" -#include "app/CircularShadow.hpp" -#include "widget/SvgWidget.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/include/app/SvgKnob.hpp b/include/app/SvgKnob.hpp index 3bb6d48e..c45349bf 100644 --- a/include/app/SvgKnob.hpp +++ b/include/app/SvgKnob.hpp @@ -1,10 +1,10 @@ #pragma once -#include "app/common.hpp" -#include "app/Knob.hpp" -#include "widget/FramebufferWidget.hpp" -#include "widget/TransformWidget.hpp" -#include "widget/SvgWidget.hpp" -#include "app/CircularShadow.hpp" +#include +#include +#include +#include +#include +#include namespace rack { diff --git a/include/app/SvgPanel.hpp b/include/app/SvgPanel.hpp index e4fc6e66..c4be6627 100644 --- a/include/app/SvgPanel.hpp +++ b/include/app/SvgPanel.hpp @@ -1,9 +1,9 @@ #pragma once -#include "app/common.hpp" -#include "widget/TransparentWidget.hpp" -#include "widget/FramebufferWidget.hpp" -#include "widget/SvgWidget.hpp" -#include "app.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/include/app/SvgPort.hpp b/include/app/SvgPort.hpp index 1e740d55..142f29b6 100644 --- a/include/app/SvgPort.hpp +++ b/include/app/SvgPort.hpp @@ -1,9 +1,9 @@ #pragma once -#include "app/common.hpp" -#include "app/PortWidget.hpp" -#include "widget/FramebufferWidget.hpp" -#include "widget/SvgWidget.hpp" -#include "app/CircularShadow.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/include/app/SvgScrew.hpp b/include/app/SvgScrew.hpp index bc577649..71441ce2 100644 --- a/include/app/SvgScrew.hpp +++ b/include/app/SvgScrew.hpp @@ -1,8 +1,8 @@ #pragma once -#include "common.hpp" -#include "widget/Widget.hpp" -#include "widget/FramebufferWidget.hpp" -#include "widget/SvgWidget.hpp" +#include +#include +#include +#include namespace rack { diff --git a/include/app/SvgSlider.hpp b/include/app/SvgSlider.hpp index 44e03614..b6a40212 100644 --- a/include/app/SvgSlider.hpp +++ b/include/app/SvgSlider.hpp @@ -1,8 +1,8 @@ #pragma once -#include "app/common.hpp" -#include "app/SliderKnob.hpp" -#include "widget/FramebufferWidget.hpp" -#include "widget/SvgWidget.hpp" +#include +#include +#include +#include namespace rack { diff --git a/include/app/SvgSwitch.hpp b/include/app/SvgSwitch.hpp index 8f8cf0f4..4b12605a 100644 --- a/include/app/SvgSwitch.hpp +++ b/include/app/SvgSwitch.hpp @@ -1,9 +1,9 @@ #pragma once -#include "app/common.hpp" -#include "widget/FramebufferWidget.hpp" -#include "widget/SvgWidget.hpp" -#include "app/CircularShadow.hpp" -#include "app/Switch.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/include/app/Switch.hpp b/include/app/Switch.hpp index 55c7db59..ecf74791 100644 --- a/include/app/Switch.hpp +++ b/include/app/Switch.hpp @@ -1,6 +1,6 @@ #pragma once -#include "app/common.hpp" -#include "app/ParamWidget.hpp" +#include +#include namespace rack { diff --git a/include/app/common.hpp b/include/app/common.hpp index d6482850..58537e34 100644 --- a/include/app/common.hpp +++ b/include/app/common.hpp @@ -1,6 +1,6 @@ #pragma once -#include "../common.hpp" -#include "math.hpp" +#include +#include #include diff --git a/include/asset.hpp b/include/asset.hpp index 7d4ea6b1..e5124c70 100644 --- a/include/asset.hpp +++ b/include/asset.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include namespace rack { diff --git a/include/audio.hpp b/include/audio.hpp index 1d919cfc..a4bf5b59 100644 --- a/include/audio.hpp +++ b/include/audio.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include #include #pragma GCC diagnostic push diff --git a/include/bridge.hpp b/include/bridge.hpp index 32fcabeb..98819526 100644 --- a/include/bridge.hpp +++ b/include/bridge.hpp @@ -1,6 +1,6 @@ #pragma once -#include "bridgeprotocol.hpp" -#include "audio.hpp" +#include +#include namespace rack { diff --git a/include/color.hpp b/include/color.hpp index 71de741e..3aabcbf1 100644 --- a/include/color.hpp +++ b/include/color.hpp @@ -1,6 +1,6 @@ #pragma once -#include "common.hpp" -#include "string.hpp" +#include +#include #include diff --git a/include/common.hpp b/include/common.hpp index 3c1aa373..2dd0de3a 100644 --- a/include/common.hpp +++ b/include/common.hpp @@ -1,5 +1,5 @@ #pragma once -#include "logger.hpp" +#include // Include most of the C stdlib for convenience #include diff --git a/include/componentlibrary.hpp b/include/componentlibrary.hpp index e7166a8b..17d97add 100644 --- a/include/componentlibrary.hpp +++ b/include/componentlibrary.hpp @@ -1,11 +1,11 @@ #pragma once -#include "app/SvgKnob.hpp" -#include "app/SvgSlider.hpp" -#include "app/SvgPort.hpp" -#include "app/ModuleLightWidget.hpp" -#include "app/SvgSwitch.hpp" -#include "app/SvgScrew.hpp" -#include "asset.hpp" +#include +#include +#include +#include +#include +#include +#include namespace rack { diff --git a/include/dsp/common.hpp b/include/dsp/common.hpp index 4143f187..0efecdc8 100644 --- a/include/dsp/common.hpp +++ b/include/dsp/common.hpp @@ -1,6 +1,6 @@ #pragma once -#include "math.hpp" -#include "simd/functions.hpp" +#include +#include namespace rack { diff --git a/include/dsp/digital.hpp b/include/dsp/digital.hpp index 5fa900b9..02b235c8 100644 --- a/include/dsp/digital.hpp +++ b/include/dsp/digital.hpp @@ -1,5 +1,5 @@ #pragma once -#include "dsp/common.hpp" +#include namespace rack { diff --git a/include/dsp/fft.hpp b/include/dsp/fft.hpp index 0d0a1be7..b48af38a 100644 --- a/include/dsp/fft.hpp +++ b/include/dsp/fft.hpp @@ -1,5 +1,5 @@ #pragma once -#include "dsp/common.hpp" +#include #include diff --git a/include/dsp/filter.hpp b/include/dsp/filter.hpp index d0fdee69..df72e0d4 100644 --- a/include/dsp/filter.hpp +++ b/include/dsp/filter.hpp @@ -1,5 +1,5 @@ #pragma once -#include "dsp/common.hpp" +#include namespace rack { diff --git a/include/dsp/fir.hpp b/include/dsp/fir.hpp index 891e4bf8..a3633c80 100644 --- a/include/dsp/fir.hpp +++ b/include/dsp/fir.hpp @@ -1,5 +1,5 @@ #pragma once -#include "dsp/common.hpp" +#include #include diff --git a/include/dsp/minblep.hpp b/include/dsp/minblep.hpp index 3dd5b404..a35772e7 100644 --- a/include/dsp/minblep.hpp +++ b/include/dsp/minblep.hpp @@ -1,5 +1,5 @@ #pragma once -#include "dsp/common.hpp" +#include namespace rack { diff --git a/include/dsp/ode.hpp b/include/dsp/ode.hpp index 9b0345be..4694eaff 100644 --- a/include/dsp/ode.hpp +++ b/include/dsp/ode.hpp @@ -1,5 +1,5 @@ #pragma once -#include "dsp/common.hpp" +#include namespace rack { diff --git a/include/dsp/resampler.hpp b/include/dsp/resampler.hpp index 6616160a..d3646157 100644 --- a/include/dsp/resampler.hpp +++ b/include/dsp/resampler.hpp @@ -1,8 +1,8 @@ #pragma once -#include "dsp/common.hpp" -#include "dsp/ringbuffer.hpp" -#include "dsp/fir.hpp" -#include "dsp/window.hpp" +#include +#include +#include +#include #include #include #include diff --git a/include/dsp/ringbuffer.hpp b/include/dsp/ringbuffer.hpp index 68ce7067..278d7d01 100644 --- a/include/dsp/ringbuffer.hpp +++ b/include/dsp/ringbuffer.hpp @@ -1,5 +1,5 @@ #pragma once -#include "dsp/common.hpp" +#include #include diff --git a/include/dsp/vumeter.hpp b/include/dsp/vumeter.hpp index 8f986f1a..0b53e07b 100644 --- a/include/dsp/vumeter.hpp +++ b/include/dsp/vumeter.hpp @@ -1,5 +1,5 @@ #pragma once -#include "dsp/common.hpp" +#include namespace rack { diff --git a/include/dsp/window.hpp b/include/dsp/window.hpp index 010c7734..d6ba4fb6 100644 --- a/include/dsp/window.hpp +++ b/include/dsp/window.hpp @@ -1,5 +1,5 @@ #pragma once -#include "math.hpp" +#include namespace rack { diff --git a/include/engine/Cable.hpp b/include/engine/Cable.hpp index c6bb099d..2013bc05 100644 --- a/include/engine/Cable.hpp +++ b/include/engine/Cable.hpp @@ -1,6 +1,6 @@ #pragma once -#include "common.hpp" -#include "engine/Module.hpp" +#include +#include namespace rack { diff --git a/include/engine/Engine.hpp b/include/engine/Engine.hpp index b15bc036..691fdd28 100644 --- a/include/engine/Engine.hpp +++ b/include/engine/Engine.hpp @@ -1,8 +1,8 @@ #pragma once -#include "common.hpp" -#include "engine/Module.hpp" -#include "engine/Cable.hpp" -#include "engine/ParamHandle.hpp" +#include +#include +#include +#include #include diff --git a/include/engine/Light.hpp b/include/engine/Light.hpp index 4bc385ad..3a2b03cf 100644 --- a/include/engine/Light.hpp +++ b/include/engine/Light.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include namespace rack { diff --git a/include/engine/Module.hpp b/include/engine/Module.hpp index c11c3bd9..3eef9225 100644 --- a/include/engine/Module.hpp +++ b/include/engine/Module.hpp @@ -1,11 +1,11 @@ #pragma once -#include "common.hpp" -#include "string.hpp" -#include "plugin/Model.hpp" -#include "engine/Param.hpp" -#include "engine/Port.hpp" -#include "engine/Light.hpp" -#include "engine/ParamQuantity.hpp" +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/include/engine/Param.hpp b/include/engine/Param.hpp index e4de4a20..43220785 100644 --- a/include/engine/Param.hpp +++ b/include/engine/Param.hpp @@ -1,6 +1,6 @@ #pragma once -#include "common.hpp" -#include "math.hpp" +#include +#include #include diff --git a/include/engine/ParamHandle.hpp b/include/engine/ParamHandle.hpp index 5ab87354..37168fcf 100644 --- a/include/engine/ParamHandle.hpp +++ b/include/engine/ParamHandle.hpp @@ -1,7 +1,7 @@ #pragma once -#include "common.hpp" -#include "engine/Module.hpp" -#include "engine/Param.hpp" +#include +#include +#include namespace rack { diff --git a/include/engine/ParamQuantity.hpp b/include/engine/ParamQuantity.hpp index 0e5c80bc..7f117645 100644 --- a/include/engine/ParamQuantity.hpp +++ b/include/engine/ParamQuantity.hpp @@ -1,6 +1,6 @@ #pragma once -#include "Quantity.hpp" -#include "engine/Param.hpp" +#include +#include namespace rack { diff --git a/include/engine/Port.hpp b/include/engine/Port.hpp index ae32689a..a65b0f4d 100644 --- a/include/engine/Port.hpp +++ b/include/engine/Port.hpp @@ -1,6 +1,6 @@ #pragma once -#include "common.hpp" -#include "engine/Light.hpp" +#include +#include namespace rack { diff --git a/include/event.hpp b/include/event.hpp index 7a716b89..d94814ba 100644 --- a/include/event.hpp +++ b/include/event.hpp @@ -1,6 +1,6 @@ #pragma once -#include "common.hpp" -#include "math.hpp" +#include +#include #include #include diff --git a/include/gamepad.hpp b/include/gamepad.hpp index 52b7ab39..bf41ec2c 100644 --- a/include/gamepad.hpp +++ b/include/gamepad.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include namespace rack { diff --git a/include/helpers.hpp b/include/helpers.hpp index 574bff47..470fce4a 100644 --- a/include/helpers.hpp +++ b/include/helpers.hpp @@ -1,16 +1,16 @@ #pragma once -#include "plugin/Model.hpp" -#include "ui/MenuOverlay.hpp" -#include "ui/MenuItem.hpp" -#include "ui/MenuLabel.hpp" -#include "ui/Menu.hpp" -#include "app/PortWidget.hpp" -#include "app/ParamWidget.hpp" -#include "app/Scene.hpp" -#include "engine/Module.hpp" -#include "engine/ParamQuantity.hpp" -#include "app.hpp" -#include "window.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include namespace rack { diff --git a/include/history.hpp b/include/history.hpp index c134e9bd..6127ee9c 100644 --- a/include/history.hpp +++ b/include/history.hpp @@ -1,8 +1,8 @@ #pragma once -#include "common.hpp" -#include "math.hpp" -#include "color.hpp" -#include "plugin/Model.hpp" +#include +#include +#include +#include #include #include diff --git a/include/keyboard.hpp b/include/keyboard.hpp index b6353a70..400b3b3d 100644 --- a/include/keyboard.hpp +++ b/include/keyboard.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include namespace rack { diff --git a/include/math.hpp b/include/math.hpp index 96cacccd..ca32009b 100644 --- a/include/math.hpp +++ b/include/math.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include #include // for std::min, max diff --git a/include/midi.hpp b/include/midi.hpp index 4d0a3a5f..edf25bd4 100644 --- a/include/midi.hpp +++ b/include/midi.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include #include #include #include diff --git a/include/network.hpp b/include/network.hpp index f6d9dcd8..321b3cd0 100644 --- a/include/network.hpp +++ b/include/network.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include #include diff --git a/include/patch.hpp b/include/patch.hpp index c723127f..d71918e1 100644 --- a/include/patch.hpp +++ b/include/patch.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include #include diff --git a/include/plugin.hpp b/include/plugin.hpp index 9977e0fb..b53a8b11 100644 --- a/include/plugin.hpp +++ b/include/plugin.hpp @@ -1,7 +1,7 @@ #pragma once -#include "common.hpp" -#include "plugin/Plugin.hpp" -#include "plugin/Model.hpp" +#include +#include +#include #include #include diff --git a/include/plugin/Model.hpp b/include/plugin/Model.hpp index d7157d65..5320a5ea 100644 --- a/include/plugin/Model.hpp +++ b/include/plugin/Model.hpp @@ -1,6 +1,6 @@ #pragma once -#include "common.hpp" -#include "plugin/Plugin.hpp" +#include +#include #include #include diff --git a/include/plugin/Plugin.hpp b/include/plugin/Plugin.hpp index 108fed4a..f3d82829 100644 --- a/include/plugin/Plugin.hpp +++ b/include/plugin/Plugin.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include #include #include diff --git a/include/plugin/callbacks.hpp b/include/plugin/callbacks.hpp index b04f3db4..904e0f7f 100644 --- a/include/plugin/callbacks.hpp +++ b/include/plugin/callbacks.hpp @@ -1,5 +1,5 @@ #pragma once -#include "plugin/Plugin.hpp" +#include /** Called once to initialize and return the Plugin instance. diff --git a/include/rack.hpp b/include/rack.hpp index d681d596..e8c4a5e4 100644 --- a/include/rack.hpp +++ b/include/rack.hpp @@ -1,98 +1,98 @@ #pragma once // Include most Rack headers for convenience -#include "common.hpp" -#include "math.hpp" -#include "string.hpp" -#include "system.hpp" -#include "random.hpp" -#include "network.hpp" -#include "asset.hpp" -#include "window.hpp" -#include "app.hpp" -#include "midi.hpp" -#include "helpers.hpp" -#include "componentlibrary.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include "widget/Widget.hpp" -#include "widget/TransparentWidget.hpp" -#include "widget/OpaqueWidget.hpp" -#include "widget/TransformWidget.hpp" -#include "widget/ZoomWidget.hpp" -#include "widget/SvgWidget.hpp" -#include "widget/FramebufferWidget.hpp" -#include "widget/OpenGlWidget.hpp" +#include +#include +#include +#include +#include +#include +#include +#include -#include "ui/SequentialLayout.hpp" -#include "ui/Label.hpp" -#include "ui/List.hpp" -#include "ui/MenuOverlay.hpp" -#include "ui/Tooltip.hpp" -#include "ui/TextField.hpp" -#include "ui/PasswordField.hpp" -#include "ui/ScrollWidget.hpp" -#include "ui/Slider.hpp" -#include "ui/Menu.hpp" -#include "ui/MenuEntry.hpp" -#include "ui/MenuSeparator.hpp" -#include "ui/MenuLabel.hpp" -#include "ui/MenuItem.hpp" -#include "ui/Button.hpp" -#include "ui/IconButton.hpp" -#include "ui/ChoiceButton.hpp" -#include "ui/RadioButton.hpp" -#include "ui/ProgressBar.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include "app/AudioWidget.hpp" -#include "app/CircularShadow.hpp" -#include "app/Knob.hpp" -#include "app/LedDisplay.hpp" -#include "app/LightWidget.hpp" -#include "app/MidiWidget.hpp" -#include "app/ModuleLightWidget.hpp" -#include "app/ModuleWidget.hpp" -#include "app/MultiLightWidget.hpp" -#include "app/ParamWidget.hpp" -#include "app/PortWidget.hpp" -#include "app/RackRail.hpp" -#include "app/Scene.hpp" -#include "app/RackScrollWidget.hpp" -#include "app/RackWidget.hpp" -#include "app/SvgButton.hpp" -#include "app/SvgKnob.hpp" -#include "app/SvgPanel.hpp" -#include "app/SvgPort.hpp" -#include "app/SvgScrew.hpp" -#include "app/SvgSlider.hpp" -#include "app/SvgSwitch.hpp" -#include "app/MenuBar.hpp" -#include "app/CableWidget.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include "engine/Engine.hpp" -#include "engine/Param.hpp" -#include "engine/Port.hpp" -#include "engine/Module.hpp" -#include "engine/Param.hpp" -#include "engine/Cable.hpp" +#include +#include +#include +#include +#include +#include -#include "plugin/Plugin.hpp" -#include "plugin/Model.hpp" -#include "plugin/callbacks.hpp" +#include +#include +#include -#include "dsp/common.hpp" -#include "dsp/digital.hpp" -#include "dsp/fft.hpp" -#include "dsp/filter.hpp" -#include "dsp/fir.hpp" -#include "dsp/minblep.hpp" -#include "dsp/ode.hpp" -#include "dsp/resampler.hpp" -#include "dsp/ringbuffer.hpp" -#include "dsp/vumeter.hpp" -#include "dsp/window.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include -#include "simd/vector.hpp" -#include "simd/functions.hpp" +#include +#include namespace rack { diff --git a/include/rack0.hpp b/include/rack0.hpp index d90d7caf..110538a7 100644 --- a/include/rack0.hpp +++ b/include/rack0.hpp @@ -1,5 +1,5 @@ #pragma once -#include "rack.hpp" +#include namespace rack { diff --git a/include/random.hpp b/include/random.hpp index 79b935dc..b4033662 100644 --- a/include/random.hpp +++ b/include/random.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include #include diff --git a/include/rtmidi.hpp b/include/rtmidi.hpp index b91a126f..839b289d 100644 --- a/include/rtmidi.hpp +++ b/include/rtmidi.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include namespace rack { diff --git a/include/settings.hpp b/include/settings.hpp index ec6ca2c2..a4732dd5 100644 --- a/include/settings.hpp +++ b/include/settings.hpp @@ -1,7 +1,7 @@ #pragma once -#include "common.hpp" -#include "math.hpp" -#include "color.hpp" +#include +#include +#include #include #include #include diff --git a/include/simd/functions.hpp b/include/simd/functions.hpp index 415c14f4..2b8c669b 100644 --- a/include/simd/functions.hpp +++ b/include/simd/functions.hpp @@ -1,7 +1,7 @@ #pragma once -#include "vector.hpp" -#include "sse_mathfun.h" -#include "math.hpp" +#include +#include +#include #include @@ -17,8 +17,7 @@ Example: template T sin_plus_cos(T x) { - using namespace simd; - return sin(x) + cos(x); + return simd::sin(x) + simd::cos(x); } */ diff --git a/include/string.hpp b/include/string.hpp index a75c9d14..980e92b5 100644 --- a/include/string.hpp +++ b/include/string.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include namespace rack { diff --git a/include/svg.hpp b/include/svg.hpp index edf05db0..b8e3110b 100644 --- a/include/svg.hpp +++ b/include/svg.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include #include #include diff --git a/include/system.hpp b/include/system.hpp index a685b981..81df2fd0 100644 --- a/include/system.hpp +++ b/include/system.hpp @@ -1,5 +1,5 @@ #pragma once -#include "common.hpp" +#include #include diff --git a/include/ui.hpp b/include/ui.hpp index 162703f0..53927897 100644 --- a/include/ui.hpp +++ b/include/ui.hpp @@ -1,6 +1,6 @@ #pragma once -#include "ui/common.hpp" -#include "color.hpp" +#include +#include namespace rack { diff --git a/include/ui/Button.hpp b/include/ui/Button.hpp index 5e07ec5e..d3a6b479 100644 --- a/include/ui/Button.hpp +++ b/include/ui/Button.hpp @@ -1,7 +1,7 @@ #pragma once -#include "widget/OpaqueWidget.hpp" -#include "ui/common.hpp" -#include "Quantity.hpp" +#include +#include +#include namespace rack { diff --git a/include/ui/ChoiceButton.hpp b/include/ui/ChoiceButton.hpp index 4b9afd9c..c068b407 100644 --- a/include/ui/ChoiceButton.hpp +++ b/include/ui/ChoiceButton.hpp @@ -1,6 +1,6 @@ #pragma once -#include "ui/common.hpp" -#include "ui/Button.hpp" +#include +#include namespace rack { diff --git a/include/ui/IconButton.hpp b/include/ui/IconButton.hpp index b38e4451..f6bd47de 100644 --- a/include/ui/IconButton.hpp +++ b/include/ui/IconButton.hpp @@ -1,8 +1,8 @@ #pragma once -#include "widget/FramebufferWidget.hpp" -#include "widget/SvgWidget.hpp" -#include "ui/common.hpp" -#include "ui/Button.hpp" +#include +#include +#include +#include namespace rack { diff --git a/include/ui/Label.hpp b/include/ui/Label.hpp index b072cfa7..72de8428 100644 --- a/include/ui/Label.hpp +++ b/include/ui/Label.hpp @@ -1,6 +1,6 @@ #pragma once -#include "widget/Widget.hpp" -#include "ui/common.hpp" +#include +#include namespace rack { diff --git a/include/ui/List.hpp b/include/ui/List.hpp index a638b8d5..51b58f52 100644 --- a/include/ui/List.hpp +++ b/include/ui/List.hpp @@ -1,6 +1,6 @@ #pragma once -#include "widget/OpaqueWidget.hpp" -#include "ui/common.hpp" +#include +#include namespace rack { diff --git a/include/ui/MarginLayout.hpp b/include/ui/MarginLayout.hpp index 6135b555..31f5105d 100644 --- a/include/ui/MarginLayout.hpp +++ b/include/ui/MarginLayout.hpp @@ -1,6 +1,6 @@ #pragma once -#include "widget/Widget.hpp" -#include "ui/common.hpp" +#include +#include namespace rack { diff --git a/include/ui/Menu.hpp b/include/ui/Menu.hpp index 73677f57..fb503ea5 100644 --- a/include/ui/Menu.hpp +++ b/include/ui/Menu.hpp @@ -1,7 +1,7 @@ #pragma once -#include "widget/OpaqueWidget.hpp" -#include "ui/common.hpp" -#include "ui/MenuEntry.hpp" +#include +#include +#include namespace rack { diff --git a/include/ui/MenuEntry.hpp b/include/ui/MenuEntry.hpp index e0abbf4b..566871f2 100644 --- a/include/ui/MenuEntry.hpp +++ b/include/ui/MenuEntry.hpp @@ -1,6 +1,6 @@ #pragma once -#include "widget/OpaqueWidget.hpp" -#include "ui/common.hpp" +#include +#include namespace rack { diff --git a/include/ui/MenuItem.hpp b/include/ui/MenuItem.hpp index bf4ab3d9..0ad5e4ac 100644 --- a/include/ui/MenuItem.hpp +++ b/include/ui/MenuItem.hpp @@ -1,8 +1,8 @@ #pragma once -#include "ui/common.hpp" -#include "ui/Menu.hpp" -#include "ui/MenuEntry.hpp" -#include "app.hpp" +#include +#include +#include +#include namespace rack { diff --git a/include/ui/MenuLabel.hpp b/include/ui/MenuLabel.hpp index 7e7d7c36..789a455c 100644 --- a/include/ui/MenuLabel.hpp +++ b/include/ui/MenuLabel.hpp @@ -1,6 +1,6 @@ #pragma once -#include "ui/common.hpp" -#include "ui/MenuEntry.hpp" +#include +#include namespace rack { diff --git a/include/ui/MenuOverlay.hpp b/include/ui/MenuOverlay.hpp index 3f9a8cbf..98590426 100644 --- a/include/ui/MenuOverlay.hpp +++ b/include/ui/MenuOverlay.hpp @@ -1,6 +1,6 @@ #pragma once -#include "widget/OpaqueWidget.hpp" -#include "ui/common.hpp" +#include +#include namespace rack { diff --git a/include/ui/MenuSeparator.hpp b/include/ui/MenuSeparator.hpp index c2aff03a..a51bae47 100644 --- a/include/ui/MenuSeparator.hpp +++ b/include/ui/MenuSeparator.hpp @@ -1,6 +1,6 @@ #pragma once -#include "ui/common.hpp" -#include "ui/MenuEntry.hpp" +#include +#include namespace rack { diff --git a/include/ui/PasswordField.hpp b/include/ui/PasswordField.hpp index 779e6b0a..df6e91d6 100644 --- a/include/ui/PasswordField.hpp +++ b/include/ui/PasswordField.hpp @@ -1,6 +1,6 @@ #pragma once -#include "ui/common.hpp" -#include "ui/TextField.hpp" +#include +#include namespace rack { diff --git a/include/ui/ProgressBar.hpp b/include/ui/ProgressBar.hpp index 83c9e034..015292b2 100644 --- a/include/ui/ProgressBar.hpp +++ b/include/ui/ProgressBar.hpp @@ -1,7 +1,7 @@ #pragma once -#include "ui/common.hpp" -#include "widget/Widget.hpp" -#include "Quantity.hpp" +#include +#include +#include namespace rack { diff --git a/include/ui/RadioButton.hpp b/include/ui/RadioButton.hpp index 5034c55b..6c6bdbf6 100644 --- a/include/ui/RadioButton.hpp +++ b/include/ui/RadioButton.hpp @@ -1,9 +1,9 @@ #pragma once -#include "ui/common.hpp" -#include "widget/OpaqueWidget.hpp" -#include "Quantity.hpp" -#include "app.hpp" -#include "event.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/include/ui/ScrollBar.hpp b/include/ui/ScrollBar.hpp index b4a52a6e..d928c6c4 100644 --- a/include/ui/ScrollBar.hpp +++ b/include/ui/ScrollBar.hpp @@ -1,6 +1,6 @@ #pragma once -#include "widget/OpaqueWidget.hpp" -#include "ui/common.hpp" +#include +#include namespace rack { diff --git a/include/ui/ScrollWidget.hpp b/include/ui/ScrollWidget.hpp index ed8bfc68..e50356f2 100644 --- a/include/ui/ScrollWidget.hpp +++ b/include/ui/ScrollWidget.hpp @@ -1,7 +1,7 @@ #pragma once -#include "ui/common.hpp" -#include "widget/OpaqueWidget.hpp" -#include "ui/ScrollBar.hpp" +#include +#include +#include namespace rack { diff --git a/include/ui/SequentialLayout.hpp b/include/ui/SequentialLayout.hpp index d2293e7b..62b628af 100644 --- a/include/ui/SequentialLayout.hpp +++ b/include/ui/SequentialLayout.hpp @@ -1,6 +1,6 @@ #pragma once -#include "widget/Widget.hpp" -#include "ui/common.hpp" +#include +#include namespace rack { diff --git a/include/ui/Slider.hpp b/include/ui/Slider.hpp index 3c3cc0af..1a66ca6d 100644 --- a/include/ui/Slider.hpp +++ b/include/ui/Slider.hpp @@ -1,8 +1,8 @@ #pragma once -#include "widget/OpaqueWidget.hpp" -#include "Quantity.hpp" -#include "ui/common.hpp" -#include "app.hpp" +#include +#include +#include +#include namespace rack { diff --git a/include/ui/TextField.hpp b/include/ui/TextField.hpp index 73d6670a..1bfcca22 100644 --- a/include/ui/TextField.hpp +++ b/include/ui/TextField.hpp @@ -1,7 +1,7 @@ #pragma once -#include "widget/OpaqueWidget.hpp" -#include "ui/common.hpp" -#include "app.hpp" +#include +#include +#include namespace rack { diff --git a/include/ui/Tooltip.hpp b/include/ui/Tooltip.hpp index 96446a78..e4a0bd0d 100644 --- a/include/ui/Tooltip.hpp +++ b/include/ui/Tooltip.hpp @@ -1,6 +1,6 @@ #pragma once -#include "widget/Widget.hpp" -#include "ui/common.hpp" +#include +#include namespace rack { diff --git a/include/ui/TooltipOverlay.hpp b/include/ui/TooltipOverlay.hpp index 1f495de7..223759f2 100644 --- a/include/ui/TooltipOverlay.hpp +++ b/include/ui/TooltipOverlay.hpp @@ -1,6 +1,6 @@ #pragma once -#include "widget/TransparentWidget.hpp" -#include "ui/common.hpp" +#include +#include namespace rack { diff --git a/include/ui/common.hpp b/include/ui/common.hpp index 953c064c..1d5e3ab6 100644 --- a/include/ui/common.hpp +++ b/include/ui/common.hpp @@ -1,5 +1,5 @@ #pragma once -#include "../common.hpp" +#include #include #include diff --git a/include/widget/FramebufferWidget.hpp b/include/widget/FramebufferWidget.hpp index 43b5bdb6..33032c26 100644 --- a/include/widget/FramebufferWidget.hpp +++ b/include/widget/FramebufferWidget.hpp @@ -1,5 +1,5 @@ #pragma once -#include "widget/Widget.hpp" +#include namespace rack { diff --git a/include/widget/OpaqueWidget.hpp b/include/widget/OpaqueWidget.hpp index 309fb23f..8fbab334 100644 --- a/include/widget/OpaqueWidget.hpp +++ b/include/widget/OpaqueWidget.hpp @@ -1,5 +1,5 @@ #pragma once -#include "widget/Widget.hpp" +#include namespace rack { diff --git a/include/widget/OpenGlWidget.hpp b/include/widget/OpenGlWidget.hpp index 084931de..73f4eb5e 100644 --- a/include/widget/OpenGlWidget.hpp +++ b/include/widget/OpenGlWidget.hpp @@ -1,5 +1,5 @@ #pragma once -#include "widget/FramebufferWidget.hpp" +#include namespace rack { diff --git a/include/widget/SvgWidget.hpp b/include/widget/SvgWidget.hpp index 915714bf..d9aef3b0 100644 --- a/include/widget/SvgWidget.hpp +++ b/include/widget/SvgWidget.hpp @@ -1,6 +1,6 @@ #pragma once -#include "widget/Widget.hpp" -#include "svg.hpp" +#include +#include namespace rack { diff --git a/include/widget/TransformWidget.hpp b/include/widget/TransformWidget.hpp index dcddafb5..e6b0cdad 100644 --- a/include/widget/TransformWidget.hpp +++ b/include/widget/TransformWidget.hpp @@ -1,5 +1,5 @@ #pragma once -#include "widget/Widget.hpp" +#include namespace rack { diff --git a/include/widget/TransparentWidget.hpp b/include/widget/TransparentWidget.hpp index 80637fff..ad82c8f4 100644 --- a/include/widget/TransparentWidget.hpp +++ b/include/widget/TransparentWidget.hpp @@ -1,5 +1,5 @@ #pragma once -#include "widget/Widget.hpp" +#include namespace rack { diff --git a/include/widget/Widget.hpp b/include/widget/Widget.hpp index e9fd5f70..665fd79e 100644 --- a/include/widget/Widget.hpp +++ b/include/widget/Widget.hpp @@ -1,9 +1,9 @@ #pragma once -#include "common.hpp" -#include "math.hpp" -#include "window.hpp" -#include "color.hpp" -#include "event.hpp" +#include +#include +#include +#include +#include #include diff --git a/include/widget/ZoomWidget.hpp b/include/widget/ZoomWidget.hpp index 4ad649bd..89fc2a48 100644 --- a/include/widget/ZoomWidget.hpp +++ b/include/widget/ZoomWidget.hpp @@ -1,5 +1,5 @@ #pragma once -#include "widget/Widget.hpp" +#include namespace rack { diff --git a/include/window.hpp b/include/window.hpp index 8ada93ae..150e2254 100644 --- a/include/window.hpp +++ b/include/window.hpp @@ -1,6 +1,6 @@ #pragma once -#include "common.hpp" -#include "math.hpp" +#include +#include #include #include diff --git a/src/Core/AudioInterface.cpp b/src/Core/AudioInterface.cpp index 92c5edb2..1ba38ea3 100644 --- a/src/Core/AudioInterface.cpp +++ b/src/Core/AudioInterface.cpp @@ -1,6 +1,6 @@ #include "plugin.hpp" -#include "audio.hpp" -#include "app.hpp" +#include +#include #include #include #include @@ -8,9 +8,6 @@ #include -using namespace rack; - - template struct AudioInterfacePort : audio::Port { std::mutex engineMutex; diff --git a/src/Core/Blank.cpp b/src/Core/Blank.cpp index 097500db..18d7804a 100644 --- a/src/Core/Blank.cpp +++ b/src/Core/Blank.cpp @@ -1,7 +1,5 @@ #include "plugin.hpp" -#include "app.hpp" - -using namespace rack; +#include struct BlankPanel : Widget { diff --git a/src/Core/MIDI_CV.cpp b/src/Core/MIDI_CV.cpp index 46cbf927..46435404 100644 --- a/src/Core/MIDI_CV.cpp +++ b/src/Core/MIDI_CV.cpp @@ -1,5 +1,4 @@ #include "plugin.hpp" - #include diff --git a/src/Core/Notes.cpp b/src/Core/Notes.cpp index ef6363f2..23650562 100644 --- a/src/Core/Notes.cpp +++ b/src/Core/Notes.cpp @@ -1,8 +1,5 @@ #include "plugin.hpp" -using namespace rack; - - struct NotesWidget : ModuleWidget { TextField *textField; diff --git a/src/Core/plugin.hpp b/src/Core/plugin.hpp index 6e5128c2..c88bf420 100644 --- a/src/Core/plugin.hpp +++ b/src/Core/plugin.hpp @@ -1,4 +1,4 @@ -#include "rack.hpp" +#include using namespace rack; diff --git a/src/Quantity.cpp b/src/Quantity.cpp index 41057eb8..40be450b 100644 --- a/src/Quantity.cpp +++ b/src/Quantity.cpp @@ -1,5 +1,5 @@ -#include "Quantity.hpp" -#include "string.hpp" +#include +#include namespace rack { diff --git a/src/app.cpp b/src/app.cpp index d65a1559..063d0c78 100644 --- a/src/app.cpp +++ b/src/app.cpp @@ -1,10 +1,10 @@ -#include "app.hpp" -#include "window.hpp" -#include "patch.hpp" -#include "engine/Engine.hpp" -#include "app/Scene.hpp" -#include "history.hpp" -#include "settings.hpp" +#include +#include +#include +#include +#include +#include +#include namespace rack { diff --git a/src/app/AudioWidget.cpp b/src/app/AudioWidget.cpp index 8b56a20a..aebc8b85 100644 --- a/src/app/AudioWidget.cpp +++ b/src/app/AudioWidget.cpp @@ -1,5 +1,5 @@ -#include "app/AudioWidget.hpp" -#include "helpers.hpp" +#include +#include namespace rack { diff --git a/src/app/CableWidget.cpp b/src/app/CableWidget.cpp index d16dacf3..b7eb2c4f 100644 --- a/src/app/CableWidget.cpp +++ b/src/app/CableWidget.cpp @@ -1,11 +1,11 @@ -#include "app/CableWidget.hpp" -#include "app/Scene.hpp" -#include "app/RackWidget.hpp" -#include "window.hpp" -#include "app.hpp" -#include "patch.hpp" -#include "settings.hpp" -#include "engine/Port.hpp" +#include +#include +#include +#include +#include +#include +#include +#include namespace rack { diff --git a/src/app/CircularShadow.cpp b/src/app/CircularShadow.cpp index cf75a7fe..f77e4506 100644 --- a/src/app/CircularShadow.cpp +++ b/src/app/CircularShadow.cpp @@ -1,4 +1,4 @@ -#include "app/CircularShadow.hpp" +#include namespace rack { diff --git a/src/app/Knob.cpp b/src/app/Knob.cpp index a3f7514c..a129d905 100644 --- a/src/app/Knob.cpp +++ b/src/app/Knob.cpp @@ -1,8 +1,8 @@ -#include "app/Knob.hpp" -#include "app.hpp" -#include "app/Scene.hpp" -#include "random.hpp" -#include "history.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/src/app/LedDisplay.cpp b/src/app/LedDisplay.cpp index b15899fa..1909d2d2 100644 --- a/src/app/LedDisplay.cpp +++ b/src/app/LedDisplay.cpp @@ -1,7 +1,7 @@ -#include "app/LedDisplay.hpp" -#include "asset.hpp" -#include "window.hpp" -#include "app.hpp" +#include +#include +#include +#include namespace rack { diff --git a/src/app/LightWidget.cpp b/src/app/LightWidget.cpp index a96e1f9b..6a1ce934 100644 --- a/src/app/LightWidget.cpp +++ b/src/app/LightWidget.cpp @@ -1,5 +1,5 @@ -#include "app/LightWidget.hpp" -#include "color.hpp" +#include +#include namespace rack { diff --git a/src/app/MenuBar.cpp b/src/app/MenuBar.cpp index c193d900..9c1dc89d 100644 --- a/src/app/MenuBar.cpp +++ b/src/app/MenuBar.cpp @@ -1,20 +1,20 @@ -#include "app/MenuBar.hpp" -#include "window.hpp" -#include "engine/Engine.hpp" -#include "asset.hpp" -#include "ui/Button.hpp" -#include "ui/MenuItem.hpp" -#include "ui/SequentialLayout.hpp" -#include "ui/Slider.hpp" -#include "ui/TextField.hpp" -#include "ui/PasswordField.hpp" -#include "ui/ProgressBar.hpp" -#include "app.hpp" -#include "settings.hpp" -#include "helpers.hpp" -#include "system.hpp" -#include "plugin.hpp" -#include "patch.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include diff --git a/src/app/MidiWidget.cpp b/src/app/MidiWidget.cpp index a4a1c1d4..ea73ecbb 100644 --- a/src/app/MidiWidget.cpp +++ b/src/app/MidiWidget.cpp @@ -1,5 +1,5 @@ -#include "app/MidiWidget.hpp" -#include "helpers.hpp" +#include +#include namespace rack { diff --git a/src/app/ModuleBrowser.cpp b/src/app/ModuleBrowser.cpp index 89847fc5..ff4885a8 100644 --- a/src/app/ModuleBrowser.cpp +++ b/src/app/ModuleBrowser.cpp @@ -1,27 +1,27 @@ -#include "app/ModuleBrowser.hpp" -#include "widget/OpaqueWidget.hpp" -#include "widget/TransparentWidget.hpp" -#include "widget/ZoomWidget.hpp" -#include "ui/ScrollWidget.hpp" -#include "ui/SequentialLayout.hpp" -#include "ui/MarginLayout.hpp" -#include "ui/Label.hpp" -#include "ui/TextField.hpp" -#include "ui/MenuOverlay.hpp" -#include "ui/List.hpp" -#include "ui/MenuItem.hpp" -#include "ui/Button.hpp" -#include "ui/RadioButton.hpp" -#include "ui/ChoiceButton.hpp" -#include "ui/Tooltip.hpp" -#include "app/ModuleWidget.hpp" -#include "app/Scene.hpp" -#include "plugin.hpp" -#include "app.hpp" -#include "plugin/Model.hpp" -#include "string.hpp" -#include "history.hpp" -#include "settings.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/app/ModuleLightWidget.cpp b/src/app/ModuleLightWidget.cpp index 34977ae5..607af9a0 100644 --- a/src/app/ModuleLightWidget.cpp +++ b/src/app/ModuleLightWidget.cpp @@ -1,4 +1,4 @@ -#include "app/ModuleLightWidget.hpp" +#include namespace rack { diff --git a/src/app/ModuleWidget.cpp b/src/app/ModuleWidget.cpp index e3de2808..4870fdcf 100644 --- a/src/app/ModuleWidget.cpp +++ b/src/app/ModuleWidget.cpp @@ -1,16 +1,16 @@ -#include "app/ModuleWidget.hpp" -#include "app/Scene.hpp" -#include "engine/Engine.hpp" -#include "plugin/Plugin.hpp" -#include "app/SvgPanel.hpp" -#include "system.hpp" -#include "asset.hpp" -#include "helpers.hpp" -#include "app.hpp" -#include "settings.hpp" -#include "history.hpp" - -#include "osdialog.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include #include diff --git a/src/app/MultiLightWidget.cpp b/src/app/MultiLightWidget.cpp index 9eca1e3c..6621a776 100644 --- a/src/app/MultiLightWidget.cpp +++ b/src/app/MultiLightWidget.cpp @@ -1,5 +1,5 @@ -#include "app/MultiLightWidget.hpp" -#include "color.hpp" +#include +#include namespace rack { diff --git a/src/app/ParamWidget.cpp b/src/app/ParamWidget.cpp index 04b79a13..f7bac0ad 100644 --- a/src/app/ParamWidget.cpp +++ b/src/app/ParamWidget.cpp @@ -1,12 +1,12 @@ -#include "app/ParamWidget.hpp" -#include "ui/MenuOverlay.hpp" -#include "ui/TextField.hpp" -#include "app/Scene.hpp" -#include "app.hpp" -#include "engine/Engine.hpp" -#include "settings.hpp" -#include "history.hpp" -#include "helpers.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include namespace rack { diff --git a/src/app/PortWidget.cpp b/src/app/PortWidget.cpp index 3c356cce..2f3463cb 100644 --- a/src/app/PortWidget.cpp +++ b/src/app/PortWidget.cpp @@ -1,9 +1,9 @@ -#include "app/PortWidget.hpp" -#include "app/Scene.hpp" -#include "window.hpp" -#include "app.hpp" -#include "history.hpp" -#include "componentlibrary.hpp" +#include +#include +#include +#include +#include +#include namespace rack { diff --git a/src/app/RackRail.cpp b/src/app/RackRail.cpp index a7a4587c..c15368a9 100644 --- a/src/app/RackRail.cpp +++ b/src/app/RackRail.cpp @@ -1,7 +1,7 @@ -#include "app/RackRail.hpp" -#include "app.hpp" -#include "asset.hpp" -#include "svg.hpp" +#include +#include +#include +#include namespace rack { diff --git a/src/app/RackScrollWidget.cpp b/src/app/RackScrollWidget.cpp index cab32d84..18d5c410 100644 --- a/src/app/RackScrollWidget.cpp +++ b/src/app/RackScrollWidget.cpp @@ -1,8 +1,8 @@ -#include "app/RackScrollWidget.hpp" -#include "app/Scene.hpp" -#include "window.hpp" -#include "app.hpp" -#include "settings.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/src/app/RackWidget.cpp b/src/app/RackWidget.cpp index b607ead2..872ac132 100644 --- a/src/app/RackWidget.cpp +++ b/src/app/RackWidget.cpp @@ -1,15 +1,15 @@ -#include "app/RackWidget.hpp" -#include "widget/TransparentWidget.hpp" -#include "app/RackRail.hpp" -#include "app/Scene.hpp" -#include "app/ModuleBrowser.hpp" -#include "settings.hpp" -#include "plugin.hpp" -#include "engine/Engine.hpp" -#include "app.hpp" -#include "asset.hpp" -#include "patch.hpp" -#include "osdialog.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include #include diff --git a/src/app/Scene.cpp b/src/app/Scene.cpp index e24c0deb..d874d4d7 100644 --- a/src/app/Scene.cpp +++ b/src/app/Scene.cpp @@ -1,13 +1,13 @@ -#include "app/Scene.hpp" -#include "app/ModuleBrowser.hpp" -#include "app.hpp" -#include "system.hpp" -#include "network.hpp" -#include "history.hpp" -#include "settings.hpp" -#include "patch.hpp" -#include "asset.hpp" -#include "osdialog.h" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include diff --git a/src/app/SvgButton.cpp b/src/app/SvgButton.cpp index 24d507a9..29526327 100644 --- a/src/app/SvgButton.cpp +++ b/src/app/SvgButton.cpp @@ -1,4 +1,4 @@ -#include "app/SvgButton.hpp" +#include namespace rack { diff --git a/src/app/SvgKnob.cpp b/src/app/SvgKnob.cpp index 1a098dfb..7a95dcee 100644 --- a/src/app/SvgKnob.cpp +++ b/src/app/SvgKnob.cpp @@ -1,4 +1,4 @@ -#include "app/SvgKnob.hpp" +#include namespace rack { diff --git a/src/app/SvgPanel.cpp b/src/app/SvgPanel.cpp index caeeaf1b..aa9dfe12 100644 --- a/src/app/SvgPanel.cpp +++ b/src/app/SvgPanel.cpp @@ -1,4 +1,4 @@ -#include "app/SvgPanel.hpp" +#include namespace rack { diff --git a/src/app/SvgPort.cpp b/src/app/SvgPort.cpp index ef4a4491..753b662a 100644 --- a/src/app/SvgPort.cpp +++ b/src/app/SvgPort.cpp @@ -1,4 +1,4 @@ -#include "app/SvgPort.hpp" +#include namespace rack { diff --git a/src/app/SvgScrew.cpp b/src/app/SvgScrew.cpp index 6636e543..adbb33a5 100644 --- a/src/app/SvgScrew.cpp +++ b/src/app/SvgScrew.cpp @@ -1,4 +1,4 @@ -#include "app/SvgScrew.hpp" +#include namespace rack { diff --git a/src/app/SvgSlider.cpp b/src/app/SvgSlider.cpp index f494ced3..c459d387 100644 --- a/src/app/SvgSlider.cpp +++ b/src/app/SvgSlider.cpp @@ -1,4 +1,4 @@ -#include "app/SvgSlider.hpp" +#include namespace rack { diff --git a/src/app/SvgSwitch.cpp b/src/app/SvgSwitch.cpp index 059aefa3..f9172b73 100644 --- a/src/app/SvgSwitch.cpp +++ b/src/app/SvgSwitch.cpp @@ -1,4 +1,4 @@ -#include "app/SvgSwitch.hpp" +#include namespace rack { diff --git a/src/app/Switch.cpp b/src/app/Switch.cpp index c855dc11..1d2ae7fe 100644 --- a/src/app/Switch.cpp +++ b/src/app/Switch.cpp @@ -1,8 +1,8 @@ -#include "app/Switch.hpp" -#include "app.hpp" -#include "app/Scene.hpp" -#include "random.hpp" -#include "history.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/src/app/common.cpp b/src/app/common.cpp index 54fa16da..afe69efd 100644 --- a/src/app/common.cpp +++ b/src/app/common.cpp @@ -1,6 +1,6 @@ -#include "app/common.hpp" -#include "settings.hpp" -#include "network.hpp" +#include +#include +#include #include diff --git a/src/asset.cpp b/src/asset.cpp index 7f3be2aa..636fadc4 100644 --- a/src/asset.cpp +++ b/src/asset.cpp @@ -1,8 +1,8 @@ -#include "asset.hpp" -#include "system.hpp" -#include "settings.hpp" -#include "string.hpp" -#include "plugin/Plugin.hpp" +#include +#include +#include +#include +#include #if defined ARCH_MAC #include diff --git a/src/audio.cpp b/src/audio.cpp index e9713bb6..1d4ec522 100644 --- a/src/audio.cpp +++ b/src/audio.cpp @@ -1,8 +1,8 @@ -#include "audio.hpp" -#include "string.hpp" -#include "math.hpp" -#include "bridge.hpp" -#include "system.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/src/bridge.cpp b/src/bridge.cpp index 1e0b3db6..da592134 100644 --- a/src/bridge.cpp +++ b/src/bridge.cpp @@ -1,7 +1,7 @@ -#include "bridge.hpp" -#include "midi.hpp" -#include "string.hpp" -#include "dsp/ringbuffer.hpp" +#include +#include +#include +#include #include #if defined ARCH_WIN diff --git a/src/color.cpp b/src/color.cpp index eeefeeb9..3da95f69 100644 --- a/src/color.cpp +++ b/src/color.cpp @@ -1,5 +1,5 @@ -#include "color.hpp" -#include "math.hpp" +#include +#include namespace rack { diff --git a/src/dsp/minblep.cpp b/src/dsp/minblep.cpp index 0a3e5422..c809e7ed 100644 --- a/src/dsp/minblep.cpp +++ b/src/dsp/minblep.cpp @@ -1,6 +1,6 @@ -#include "dsp/minblep.hpp" -#include "dsp/fft.hpp" -#include "dsp/window.hpp" +#include +#include +#include namespace rack { diff --git a/src/engine/Cable.cpp b/src/engine/Cable.cpp index 1427597a..f6975a7a 100644 --- a/src/engine/Cable.cpp +++ b/src/engine/Cable.cpp @@ -1,4 +1,4 @@ -#include "engine/Cable.hpp" +#include namespace rack { diff --git a/src/engine/Engine.cpp b/src/engine/Engine.cpp index 83e2e061..a36e53c2 100644 --- a/src/engine/Engine.cpp +++ b/src/engine/Engine.cpp @@ -1,7 +1,7 @@ -#include "engine/Engine.hpp" -#include "settings.hpp" -#include "system.hpp" -#include "random.hpp" +#include +#include +#include +#include #include #include diff --git a/src/engine/Module.cpp b/src/engine/Module.cpp index b5091ff6..89276e3f 100644 --- a/src/engine/Module.cpp +++ b/src/engine/Module.cpp @@ -1,4 +1,4 @@ -#include "engine/Module.hpp" +#include namespace rack { diff --git a/src/engine/ParamQuantity.cpp b/src/engine/ParamQuantity.cpp index 2cf4ca74..c4950906 100644 --- a/src/engine/ParamQuantity.cpp +++ b/src/engine/ParamQuantity.cpp @@ -1,6 +1,6 @@ -#include "engine/ParamQuantity.hpp" -#include "app.hpp" -#include "engine/Engine.hpp" +#include +#include +#include namespace rack { diff --git a/src/engine/Port.cpp b/src/engine/Port.cpp index 4b84f105..09cbee2b 100644 --- a/src/engine/Port.cpp +++ b/src/engine/Port.cpp @@ -1,4 +1,4 @@ -#include "engine/Port.hpp" +#include namespace rack { diff --git a/src/event.cpp b/src/event.cpp index d4eb39d3..69f06101 100644 --- a/src/event.cpp +++ b/src/event.cpp @@ -1,7 +1,7 @@ -#include "event.hpp" -#include "widget/Widget.hpp" -#include "app.hpp" -#include "window.hpp" +#include +#include +#include +#include namespace rack { diff --git a/src/gamepad.cpp b/src/gamepad.cpp index bcea25c0..e49d3f88 100644 --- a/src/gamepad.cpp +++ b/src/gamepad.cpp @@ -1,7 +1,7 @@ -#include "gamepad.hpp" -#include "midi.hpp" -#include "string.hpp" -#include "window.hpp" +#include +#include +#include +#include namespace rack { diff --git a/src/history.cpp b/src/history.cpp index 35a74967..b7241e8a 100644 --- a/src/history.cpp +++ b/src/history.cpp @@ -1,8 +1,8 @@ -#include "history.hpp" -#include "app.hpp" -#include "app/Scene.hpp" -#include "engine/Cable.hpp" -#include "engine/Engine.hpp" +#include +#include +#include +#include +#include namespace rack { diff --git a/src/keyboard.cpp b/src/keyboard.cpp index 3e28534b..b3659a65 100644 --- a/src/keyboard.cpp +++ b/src/keyboard.cpp @@ -1,6 +1,6 @@ -#include "keyboard.hpp" -#include "midi.hpp" -#include "window.hpp" +#include +#include +#include #include diff --git a/src/logger.cpp b/src/logger.cpp index 16f86340..cac14f13 100644 --- a/src/logger.cpp +++ b/src/logger.cpp @@ -1,6 +1,6 @@ -#include "common.hpp" -#include "asset.hpp" -#include "settings.hpp" +#include +#include +#include #include #include diff --git a/src/main.cpp b/src/main.cpp index d1e2e38b..645d0a0d 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1,20 +1,20 @@ -#include "common.hpp" -#include "random.hpp" -#include "asset.hpp" -#include "midi.hpp" -#include "rtmidi.hpp" -#include "keyboard.hpp" -#include "gamepad.hpp" -#include "bridge.hpp" -#include "settings.hpp" -#include "engine/Engine.hpp" -#include "app/Scene.hpp" -#include "plugin.hpp" -#include "app.hpp" -#include "patch.hpp" -#include "ui.hpp" -#include "system.hpp" -#include "string.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/midi.cpp b/src/midi.cpp index d466a431..219f4837 100644 --- a/src/midi.cpp +++ b/src/midi.cpp @@ -1,5 +1,5 @@ -#include "midi.hpp" -#include "string.hpp" +#include +#include #include diff --git a/src/network.cpp b/src/network.cpp index 6a27b85e..831cd92e 100644 --- a/src/network.cpp +++ b/src/network.cpp @@ -1,4 +1,4 @@ -#include "network.hpp" +#include #define CURL_STATICLIB #include #include diff --git a/src/patch.cpp b/src/patch.cpp index 10252aed..337b1b39 100644 --- a/src/patch.cpp +++ b/src/patch.cpp @@ -1,13 +1,13 @@ -#include "patch.hpp" -#include "asset.hpp" -#include "system.hpp" -#include "app.hpp" -#include "app/Scene.hpp" -#include "app/RackWidget.hpp" -#include "history.hpp" -#include "settings.hpp" - -#include "osdialog.h" +#include +#include +#include +#include +#include +#include +#include +#include + +#include namespace rack { diff --git a/src/plugin.cpp b/src/plugin.cpp index b513f51c..8e87b231 100644 --- a/src/plugin.cpp +++ b/src/plugin.cpp @@ -1,12 +1,12 @@ -#include "plugin.hpp" -#include "system.hpp" -#include "network.hpp" -#include "asset.hpp" -#include "string.hpp" -#include "app.hpp" -#include "app/common.hpp" -#include "plugin/callbacks.hpp" -#include "settings.hpp" +#include +#include +#include +#include +#include +#include +#include +#include +#include #include #include diff --git a/src/plugin/Model.cpp b/src/plugin/Model.cpp index 912987ee..1026c87b 100644 --- a/src/plugin/Model.cpp +++ b/src/plugin/Model.cpp @@ -1,4 +1,4 @@ -#include "plugin/Model.hpp" +#include namespace rack { diff --git a/src/plugin/Plugin.cpp b/src/plugin/Plugin.cpp index b3ed0c30..98a9c53b 100644 --- a/src/plugin/Plugin.cpp +++ b/src/plugin/Plugin.cpp @@ -1,5 +1,5 @@ -#include "plugin/Plugin.hpp" -#include "plugin/Model.hpp" +#include +#include namespace rack { diff --git a/src/random.cpp b/src/random.cpp index 18b68186..53581106 100644 --- a/src/random.cpp +++ b/src/random.cpp @@ -1,5 +1,5 @@ -#include "random.hpp" -#include "math.hpp" +#include +#include #include #include diff --git a/src/rtmidi.cpp b/src/rtmidi.cpp index a7804462..f3e08dbc 100644 --- a/src/rtmidi.cpp +++ b/src/rtmidi.cpp @@ -1,5 +1,5 @@ -#include "rtmidi.hpp" -#include "midi.hpp" +#include +#include #include #pragma GCC diagnostic push diff --git a/src/settings.cpp b/src/settings.cpp index 4c26e5d2..11cef278 100644 --- a/src/settings.cpp +++ b/src/settings.cpp @@ -1,11 +1,11 @@ -#include "settings.hpp" -#include "window.hpp" -#include "plugin.hpp" -#include "app/Scene.hpp" -#include "app/ModuleBrowser.hpp" -#include "engine/Engine.hpp" -#include "app.hpp" -#include "patch.hpp" +#include +#include +#include +#include +#include +#include +#include +#include #include diff --git a/src/string.cpp b/src/string.cpp index b500b61c..9ce8ad8f 100644 --- a/src/string.cpp +++ b/src/string.cpp @@ -1,4 +1,4 @@ -#include "string.hpp" +#include #include // for wstring_convert #include // for codecvt_utf8_utf16 #include // for tolower and toupper diff --git a/src/svg.cpp b/src/svg.cpp index 2c10954d..077fea48 100644 --- a/src/svg.cpp +++ b/src/svg.cpp @@ -1,5 +1,5 @@ -#include "svg.hpp" -#include "math.hpp" +#include +#include // #define DEBUG_ONLY(x) x diff --git a/src/system.cpp b/src/system.cpp index c7cb3f94..9eff2218 100644 --- a/src/system.cpp +++ b/src/system.cpp @@ -1,5 +1,5 @@ -#include "system.hpp" -#include "string.hpp" +#include +#include #include #include diff --git a/src/ui.cpp b/src/ui.cpp index e7033cb3..b645ad51 100644 --- a/src/ui.cpp +++ b/src/ui.cpp @@ -1,4 +1,4 @@ -#include "ui.hpp" +#include namespace rack { diff --git a/src/ui/Button.cpp b/src/ui/Button.cpp index ec4577b0..00550174 100644 --- a/src/ui/Button.cpp +++ b/src/ui/Button.cpp @@ -1,6 +1,6 @@ -#include "ui/Button.hpp" -#include "app.hpp" -#include "event.hpp" +#include +#include +#include namespace rack { diff --git a/src/ui/ChoiceButton.cpp b/src/ui/ChoiceButton.cpp index f93eb1dc..18fb7aa8 100644 --- a/src/ui/ChoiceButton.cpp +++ b/src/ui/ChoiceButton.cpp @@ -1,6 +1,6 @@ -#include "ui/ChoiceButton.hpp" -#include "app.hpp" -#include "event.hpp" +#include +#include +#include namespace rack { diff --git a/src/ui/IconButton.cpp b/src/ui/IconButton.cpp index e2566662..2cbecd12 100644 --- a/src/ui/IconButton.cpp +++ b/src/ui/IconButton.cpp @@ -1,4 +1,4 @@ -#include "ui/IconButton.hpp" +#include namespace rack { diff --git a/src/ui/Label.cpp b/src/ui/Label.cpp index b940eff5..cb07c707 100644 --- a/src/ui/Label.cpp +++ b/src/ui/Label.cpp @@ -1,4 +1,4 @@ -#include "ui/Label.hpp" +#include namespace rack { diff --git a/src/ui/List.cpp b/src/ui/List.cpp index 49281a86..7be7a371 100644 --- a/src/ui/List.cpp +++ b/src/ui/List.cpp @@ -1,4 +1,4 @@ -#include "ui/List.hpp" +#include namespace rack { diff --git a/src/ui/MarginLayout.cpp b/src/ui/MarginLayout.cpp index fbdb0495..b3aecacd 100644 --- a/src/ui/MarginLayout.cpp +++ b/src/ui/MarginLayout.cpp @@ -1,4 +1,4 @@ -#include "ui/MarginLayout.hpp" +#include #include diff --git a/src/ui/Menu.cpp b/src/ui/Menu.cpp index b5d443ea..d94ad06a 100644 --- a/src/ui/Menu.cpp +++ b/src/ui/Menu.cpp @@ -1,4 +1,4 @@ -#include "ui/Menu.hpp" +#include namespace rack { namespace ui { diff --git a/src/ui/MenuEntry.cpp b/src/ui/MenuEntry.cpp index d36c153d..f5c464d0 100644 --- a/src/ui/MenuEntry.cpp +++ b/src/ui/MenuEntry.cpp @@ -1,4 +1,4 @@ -#include "ui/MenuEntry.hpp" +#include namespace rack { diff --git a/src/ui/MenuItem.cpp b/src/ui/MenuItem.cpp index a4049829..7aeb974d 100644 --- a/src/ui/MenuItem.cpp +++ b/src/ui/MenuItem.cpp @@ -1,5 +1,5 @@ -#include "ui/MenuItem.hpp" -#include "ui/MenuOverlay.hpp" +#include +#include namespace rack { diff --git a/src/ui/MenuLabel.cpp b/src/ui/MenuLabel.cpp index 4e159ce6..78de441b 100644 --- a/src/ui/MenuLabel.cpp +++ b/src/ui/MenuLabel.cpp @@ -1,5 +1,5 @@ -#include "ui/MenuLabel.hpp" -#include "app.hpp" +#include +#include namespace rack { diff --git a/src/ui/MenuOverlay.cpp b/src/ui/MenuOverlay.cpp index 19074d81..cd647d74 100644 --- a/src/ui/MenuOverlay.cpp +++ b/src/ui/MenuOverlay.cpp @@ -1,4 +1,4 @@ -#include "ui/MenuOverlay.hpp" +#include namespace rack { diff --git a/src/ui/MenuSeparator.cpp b/src/ui/MenuSeparator.cpp index 016f51eb..54faadeb 100644 --- a/src/ui/MenuSeparator.cpp +++ b/src/ui/MenuSeparator.cpp @@ -1,4 +1,4 @@ -#include "ui/MenuSeparator.hpp" +#include namespace rack { diff --git a/src/ui/PasswordField.cpp b/src/ui/PasswordField.cpp index ef73be12..86157b4b 100644 --- a/src/ui/PasswordField.cpp +++ b/src/ui/PasswordField.cpp @@ -1,4 +1,4 @@ -#include "ui/PasswordField.hpp" +#include namespace rack { diff --git a/src/ui/ProgressBar.cpp b/src/ui/ProgressBar.cpp index fee2b9b5..9899357a 100644 --- a/src/ui/ProgressBar.cpp +++ b/src/ui/ProgressBar.cpp @@ -1,4 +1,4 @@ -#include "ui/ProgressBar.hpp" +#include namespace rack { diff --git a/src/ui/RadioButton.cpp b/src/ui/RadioButton.cpp index a9dda3d9..37ee685f 100644 --- a/src/ui/RadioButton.cpp +++ b/src/ui/RadioButton.cpp @@ -1,4 +1,4 @@ -#include "ui/RadioButton.hpp" +#include namespace rack { diff --git a/src/ui/ScrollBar.cpp b/src/ui/ScrollBar.cpp index 4654d39c..d38ae9a0 100644 --- a/src/ui/ScrollBar.cpp +++ b/src/ui/ScrollBar.cpp @@ -1,7 +1,7 @@ -#include "ui/ScrollBar.hpp" -#include "ui/ScrollWidget.hpp" -#include "app.hpp" -#include "window.hpp" +#include +#include +#include +#include namespace rack { diff --git a/src/ui/ScrollWidget.cpp b/src/ui/ScrollWidget.cpp index 54281c64..1aeb4c80 100644 --- a/src/ui/ScrollWidget.cpp +++ b/src/ui/ScrollWidget.cpp @@ -1,5 +1,5 @@ -#include "ui/ScrollWidget.hpp" -#include "app.hpp" +#include +#include namespace rack { diff --git a/src/ui/SequentialLayout.cpp b/src/ui/SequentialLayout.cpp index 64f6f525..99e8a9d7 100644 --- a/src/ui/SequentialLayout.cpp +++ b/src/ui/SequentialLayout.cpp @@ -1,4 +1,4 @@ -#include "ui/SequentialLayout.hpp" +#include #include diff --git a/src/ui/Slider.cpp b/src/ui/Slider.cpp index fcc2efba..4fa6849c 100644 --- a/src/ui/Slider.cpp +++ b/src/ui/Slider.cpp @@ -1,4 +1,4 @@ -#include "ui/Slider.hpp" +#include namespace rack { diff --git a/src/ui/TextField.cpp b/src/ui/TextField.cpp index 56645062..d0eb0d2f 100644 --- a/src/ui/TextField.cpp +++ b/src/ui/TextField.cpp @@ -1,4 +1,4 @@ -#include "ui/TextField.hpp" +#include namespace rack { namespace ui { diff --git a/src/ui/Tooltip.cpp b/src/ui/Tooltip.cpp index 200df381..7e734875 100644 --- a/src/ui/Tooltip.cpp +++ b/src/ui/Tooltip.cpp @@ -1,6 +1,6 @@ -#include "ui/Tooltip.hpp" -#include "app.hpp" -#include "window.hpp" +#include +#include +#include namespace rack { diff --git a/src/widget/FramebufferWidget.cpp b/src/widget/FramebufferWidget.cpp index 71f46704..78d1b63d 100644 --- a/src/widget/FramebufferWidget.cpp +++ b/src/widget/FramebufferWidget.cpp @@ -1,6 +1,6 @@ -#include "widget/FramebufferWidget.hpp" -#include "app.hpp" -#include "random.hpp" +#include +#include +#include namespace rack { diff --git a/src/widget/OpenGlWidget.cpp b/src/widget/OpenGlWidget.cpp index 6c799c2c..3a2df837 100644 --- a/src/widget/OpenGlWidget.cpp +++ b/src/widget/OpenGlWidget.cpp @@ -1,5 +1,5 @@ -#include "widget/OpenGlWidget.hpp" -#include "app.hpp" +#include +#include namespace rack { diff --git a/src/widget/SvgWidget.cpp b/src/widget/SvgWidget.cpp index 9129e6cb..e33380d1 100644 --- a/src/widget/SvgWidget.cpp +++ b/src/widget/SvgWidget.cpp @@ -1,5 +1,5 @@ -#include "widget/SvgWidget.hpp" -#include "app.hpp" +#include +#include namespace rack { diff --git a/src/widget/Widget.cpp b/src/widget/Widget.cpp index f2a7b346..ba51b6da 100644 --- a/src/widget/Widget.cpp +++ b/src/widget/Widget.cpp @@ -1,5 +1,5 @@ -#include "widget/Widget.hpp" -#include "app.hpp" +#include +#include #include diff --git a/src/widget/ZoomWidget.cpp b/src/widget/ZoomWidget.cpp index 49940402..1f40920e 100644 --- a/src/widget/ZoomWidget.cpp +++ b/src/widget/ZoomWidget.cpp @@ -1,4 +1,4 @@ -#include "widget/ZoomWidget.hpp" +#include namespace rack { diff --git a/src/window.cpp b/src/window.cpp index 43356b15..a32df1ce 100644 --- a/src/window.cpp +++ b/src/window.cpp @@ -1,14 +1,14 @@ -#include "window.hpp" -#include "asset.hpp" -#include "app/Scene.hpp" -#include "keyboard.hpp" -#include "gamepad.hpp" -#include "event.hpp" -#include "app.hpp" -#include "patch.hpp" -#include "settings.hpp" -#include "plugin.hpp" // used in Window::screenshot -#include "system.hpp" // used in Window::screenshot +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include // used in Window::screenshot +#include // used in Window::screenshot #include #include