Browse Source

Change order of includes to C++ standard headers, library headers, and local project headers.

tags/v2.0.0
Andrew Belt 4 years ago
parent
commit
120aafe6d3
61 changed files with 195 additions and 139 deletions
  1. +1
    -1
      include/app/CableWidget.hpp
  2. +2
    -1
      include/app/RackWidget.hpp
  3. +2
    -1
      include/app/common.hpp
  4. +5
    -3
      include/audio.hpp
  5. +2
    -1
      include/color.hpp
  6. +2
    -2
      include/common.hpp
  7. +1
    -0
      include/dsp/common.hpp
  8. +2
    -1
      include/dsp/fft.hpp
  9. +2
    -1
      include/dsp/fir.hpp
  10. +2
    -3
      include/dsp/resampler.hpp
  11. +0
    -1
      include/dsp/ringbuffer.hpp
  12. +2
    -1
      include/engine/Engine.hpp
  13. +4
    -2
      include/engine/Module.hpp
  14. +2
    -1
      include/engine/Param.hpp
  15. +3
    -2
      include/event.hpp
  16. +5
    -3
      include/history.hpp
  17. +2
    -1
      include/math.hpp
  18. +4
    -2
      include/midi.hpp
  19. +2
    -1
      include/network.hpp
  20. +2
    -1
      include/patch.hpp
  21. +2
    -1
      include/plugin.hpp
  22. +4
    -2
      include/plugin/Model.hpp
  23. +4
    -2
      include/plugin/Plugin.hpp
  24. +0
    -1
      include/rack.hpp
  25. +0
    -1
      include/random.hpp
  26. +5
    -3
      include/settings.hpp
  27. +2
    -1
      include/string.hpp
  28. +2
    -1
      include/svg.hpp
  29. +2
    -1
      include/system.hpp
  30. +2
    -1
      include/tag.hpp
  31. +2
    -1
      include/ui/common.hpp
  32. +2
    -1
      include/widget/Widget.hpp
  33. +4
    -2
      include/window.hpp
  34. +2
    -1
      src/Quantity.cpp
  35. +5
    -3
      src/app/MenuBar.cpp
  36. +3
    -3
      src/app/ModuleBrowser.cpp
  37. +4
    -3
      src/app/ModuleWidget.cpp
  38. +6
    -4
      src/app/RackWidget.cpp
  39. +4
    -2
      src/app/Scene.cpp
  40. +7
    -7
      src/asset.cpp
  41. +4
    -4
      src/core/AudioInterface.cpp
  42. +2
    -1
      src/core/MIDI_CV.cpp
  43. +8
    -8
      src/engine/Engine.cpp
  44. +2
    -1
      src/keyboard.cpp
  45. +2
    -1
      src/logger.cpp
  46. +3
    -2
      src/midi.cpp
  47. +3
    -2
      src/network.cpp
  48. +4
    -3
      src/patch.cpp
  49. +16
    -16
      src/plugin.cpp
  50. +5
    -3
      src/random.cpp
  51. +6
    -5
      src/rtaudio.cpp
  52. +3
    -2
      src/rtmidi.cpp
  53. +2
    -1
      src/settings.cpp
  54. +2
    -1
      src/string.cpp
  55. +4
    -3
      src/system.cpp
  56. +1
    -1
      src/tag.cpp
  57. +1
    -0
      src/ui/Menu.cpp
  58. +2
    -1
      src/ui/SequentialLayout.cpp
  59. +2
    -1
      src/updater.cpp
  60. +2
    -1
      src/widget/Widget.cpp
  61. +12
    -12
      src/window.cpp

+ 1
- 1
include/app/CableWidget.hpp View File

@@ -1,10 +1,10 @@
#pragma once #pragma once
#include <map>
#include <app/common.hpp> #include <app/common.hpp>
#include <widget/OpaqueWidget.hpp> #include <widget/OpaqueWidget.hpp>
#include <app/PortWidget.hpp> #include <app/PortWidget.hpp>
#include <app/ModuleWidget.hpp> #include <app/ModuleWidget.hpp>
#include <engine/Cable.hpp> #include <engine/Cable.hpp>
#include <map>




namespace rack { namespace rack {


+ 2
- 1
include/app/RackWidget.hpp View File

@@ -1,4 +1,6 @@
#pragma once #pragma once
#include <map>

#include <app/common.hpp> #include <app/common.hpp>
#include <widget/OpaqueWidget.hpp> #include <widget/OpaqueWidget.hpp>
#include <widget/FramebufferWidget.hpp> #include <widget/FramebufferWidget.hpp>
@@ -7,7 +9,6 @@
#include <app/PortWidget.hpp> #include <app/PortWidget.hpp>
#include <app/ParamWidget.hpp> #include <app/ParamWidget.hpp>
#include <history.hpp> #include <history.hpp>
#include <map>




namespace rack { namespace rack {


+ 2
- 1
include/app/common.hpp View File

@@ -1,7 +1,8 @@
#pragma once #pragma once
#include <jansson.h>

#include <common.hpp> #include <common.hpp>
#include <math.hpp> #include <math.hpp>
#include <jansson.h>




namespace rack { namespace rack {


+ 5
- 3
include/audio.hpp View File

@@ -1,10 +1,12 @@
#pragma once #pragma once
#include <common.hpp>
#include <context.hpp>
#include <jansson.h>
#include <vector> #include <vector>
#include <set> #include <set>


#include <jansson.h>

#include <common.hpp>
#include <context.hpp>

namespace rack { namespace rack {






+ 2
- 1
include/color.hpp View File

@@ -1,7 +1,8 @@
#pragma once #pragma once
#include <nanovg.h>

#include <common.hpp> #include <common.hpp>
#include <string.hpp> #include <string.hpp>
#include <nanovg.h>




namespace rack { namespace rack {


+ 2
- 2
include/common.hpp View File

@@ -1,6 +1,4 @@
#pragma once #pragma once
#include <logger.hpp>

// Include most of the C stdlib for convenience // Include most of the C stdlib for convenience
#include <cstdlib> #include <cstdlib>
#include <cstdio> #include <cstdio>
@@ -15,6 +13,8 @@
#include <string> #include <string>
#include <stdexcept> #include <stdexcept>


#include <logger.hpp>



namespace rack { namespace rack {




+ 1
- 0
include/dsp/common.hpp View File

@@ -1,4 +1,5 @@
#pragma once #pragma once
#include <common.hpp>
#include <math.hpp> #include <math.hpp>
#include <simd/functions.hpp> #include <simd/functions.hpp>




+ 2
- 1
include/dsp/fft.hpp View File

@@ -1,7 +1,8 @@
#pragma once #pragma once
#include <dsp/common.hpp>
#include <pffft.h> #include <pffft.h>


#include <dsp/common.hpp>



namespace rack { namespace rack {
namespace dsp { namespace dsp {


+ 2
- 1
include/dsp/fir.hpp View File

@@ -1,7 +1,8 @@
#pragma once #pragma once
#include <dsp/common.hpp>
#include <pffft.h> #include <pffft.h>


#include <dsp/common.hpp>



namespace rack { namespace rack {
namespace dsp { namespace dsp {


+ 2
- 3
include/dsp/resampler.hpp View File

@@ -1,11 +1,10 @@
#pragma once #pragma once
#include <speex/speex_resampler.h>

#include <dsp/common.hpp> #include <dsp/common.hpp>
#include <dsp/ringbuffer.hpp> #include <dsp/ringbuffer.hpp>
#include <dsp/fir.hpp> #include <dsp/fir.hpp>
#include <dsp/window.hpp> #include <dsp/window.hpp>
#include <assert.h>
#include <string.h>
#include <speex/speex_resampler.h>




namespace rack { namespace rack {


+ 0
- 1
include/dsp/ringbuffer.hpp View File

@@ -1,6 +1,5 @@
#pragma once #pragma once
#include <dsp/common.hpp> #include <dsp/common.hpp>
#include <string.h>




namespace rack { namespace rack {


+ 2
- 1
include/engine/Engine.hpp View File

@@ -1,9 +1,10 @@
#pragma once #pragma once
#include <vector>

#include <common.hpp> #include <common.hpp>
#include <engine/Module.hpp> #include <engine/Module.hpp>
#include <engine/Cable.hpp> #include <engine/Cable.hpp>
#include <engine/ParamHandle.hpp> #include <engine/ParamHandle.hpp>
#include <vector>




namespace rack { namespace rack {


+ 4
- 2
include/engine/Module.hpp View File

@@ -1,4 +1,8 @@
#pragma once #pragma once
#include <vector>

#include <jansson.h>

#include <common.hpp> #include <common.hpp>
#include <string.hpp> #include <string.hpp>
#include <plugin/Model.hpp> #include <plugin/Model.hpp>
@@ -7,8 +11,6 @@
#include <engine/Light.hpp> #include <engine/Light.hpp>
#include <engine/ParamQuantity.hpp> #include <engine/ParamQuantity.hpp>
#include <engine/PortInfo.hpp> #include <engine/PortInfo.hpp>
#include <vector>
#include <jansson.h>




namespace rack { namespace rack {


+ 2
- 1
include/engine/Param.hpp View File

@@ -1,7 +1,8 @@
#pragma once #pragma once
#include <jansson.h>

#include <common.hpp> #include <common.hpp>
#include <math.hpp> #include <math.hpp>
#include <jansson.h>




namespace rack { namespace rack {


+ 3
- 2
include/event.hpp View File

@@ -1,9 +1,10 @@
#pragma once #pragma once
#include <common.hpp>
#include <math.hpp>
#include <vector> #include <vector>
#include <set> #include <set>


#include <common.hpp>
#include <math.hpp>





/** Remaps Ctrl to Cmd on Mac /** Remaps Ctrl to Cmd on Mac


+ 5
- 3
include/history.hpp View File

@@ -1,11 +1,13 @@
#pragma once #pragma once
#include <vector>
#include <deque>

#include <jansson.h>

#include <common.hpp> #include <common.hpp>
#include <math.hpp> #include <math.hpp>
#include <color.hpp> #include <color.hpp>
#include <plugin/Model.hpp> #include <plugin/Model.hpp>
#include <vector>
#include <deque>
#include <jansson.h>




namespace rack { namespace rack {


+ 2
- 1
include/math.hpp View File

@@ -1,8 +1,9 @@
#pragma once #pragma once
#include <common.hpp>
#include <complex> #include <complex>
#include <algorithm> // for std::min, max #include <algorithm> // for std::min, max


#include <common.hpp>



namespace rack { namespace rack {




+ 4
- 2
include/midi.hpp View File

@@ -1,11 +1,13 @@
#pragma once #pragma once
#include <common.hpp>
#include <context.hpp>
#include <vector> #include <vector>
#include <queue> #include <queue>
#include <set> #include <set>

#include <jansson.h> #include <jansson.h>


#include <common.hpp>
#include <context.hpp>



namespace rack { namespace rack {




+ 2
- 1
include/network.hpp View File

@@ -1,7 +1,8 @@
#pragma once #pragma once
#include <common.hpp>
#include <jansson.h> #include <jansson.h>


#include <common.hpp>



namespace rack { namespace rack {




+ 2
- 1
include/patch.hpp View File

@@ -1,7 +1,8 @@
#pragma once #pragma once
#include <common.hpp>
#include <jansson.h> #include <jansson.h>


#include <common.hpp>



namespace rack { namespace rack {




+ 2
- 1
include/plugin.hpp View File

@@ -1,8 +1,9 @@
#pragma once #pragma once
#include <vector>

#include <common.hpp> #include <common.hpp>
#include <plugin/Plugin.hpp> #include <plugin/Plugin.hpp>
#include <plugin/Model.hpp> #include <plugin/Model.hpp>
#include <vector>




namespace rack { namespace rack {


+ 4
- 2
include/plugin/Model.hpp View File

@@ -1,8 +1,10 @@
#pragma once #pragma once
#include <set>

#include <jansson.h>

#include <common.hpp> #include <common.hpp>
#include <plugin/Plugin.hpp> #include <plugin/Plugin.hpp>
#include <jansson.h>
#include <set>




namespace rack { namespace rack {


+ 4
- 2
include/plugin/Plugin.hpp View File

@@ -1,8 +1,10 @@
#pragma once #pragma once
#include <common.hpp>
#include <jansson.h>
#include <vector> #include <vector>


#include <jansson.h>

#include <common.hpp>



namespace rack { namespace rack {
namespace plugin { namespace plugin {


+ 0
- 1
include/rack.hpp View File

@@ -1,6 +1,5 @@
#pragma once #pragma once



// The following headers are the "public" API of Rack. // The following headers are the "public" API of Rack.


#include <common.hpp> #include <common.hpp>


+ 0
- 1
include/random.hpp View File

@@ -1,6 +1,5 @@
#pragma once #pragma once
#include <common.hpp> #include <common.hpp>
#include <cstdint>




namespace rack { namespace rack {


+ 5
- 3
include/settings.hpp View File

@@ -1,13 +1,15 @@
#pragma once #pragma once
#include <common.hpp>
#include <math.hpp>
#include <color.hpp>
#include <vector> #include <vector>
#include <map> #include <map>
#include <list> #include <list>
#include <tuple> #include <tuple>

#include <jansson.h> #include <jansson.h>


#include <common.hpp>
#include <math.hpp>
#include <color.hpp>



namespace rack { namespace rack {




+ 2
- 1
include/string.hpp View File

@@ -1,7 +1,8 @@
#pragma once #pragma once
#include <common.hpp>
#include <vector> #include <vector>


#include <common.hpp>



namespace rack { namespace rack {




+ 2
- 1
include/svg.hpp View File

@@ -1,8 +1,9 @@
#pragma once #pragma once
#include <common.hpp>
#include <nanovg.h> #include <nanovg.h>
#include <nanosvg.h> #include <nanosvg.h>


#include <common.hpp>



namespace rack { namespace rack {




+ 2
- 1
include/system.hpp View File

@@ -1,7 +1,8 @@
#pragma once #pragma once
#include <common.hpp>
#include <list> #include <list>


#include <common.hpp>



namespace rack { namespace rack {




+ 2
- 1
include/tag.hpp View File

@@ -1,7 +1,8 @@
#pragma once #pragma once
#include <common.hpp>
#include <vector> #include <vector>


#include <common.hpp>



namespace rack { namespace rack {
namespace tag { namespace tag {


+ 2
- 1
include/ui/common.hpp View File

@@ -1,8 +1,9 @@
#pragma once #pragma once
#include <common.hpp>
#include <nanovg.h> #include <nanovg.h>
#include <blendish.h> #include <blendish.h>


#include <common.hpp>

/** Useful for menu items with a "true" boolean state */ /** Useful for menu items with a "true" boolean state */
#define CHECKMARK_STRING "âś”" #define CHECKMARK_STRING "âś”"
#define CHECKMARK(_cond) ((_cond) ? CHECKMARK_STRING : "") #define CHECKMARK(_cond) ((_cond) ? CHECKMARK_STRING : "")


+ 2
- 1
include/widget/Widget.hpp View File

@@ -1,10 +1,11 @@
#pragma once #pragma once
#include <list>

#include <common.hpp> #include <common.hpp>
#include <math.hpp> #include <math.hpp>
#include <window.hpp> #include <window.hpp>
#include <color.hpp> #include <color.hpp>
#include <event.hpp> #include <event.hpp>
#include <list>




namespace rack { namespace rack {


+ 4
- 2
include/window.hpp View File

@@ -1,9 +1,8 @@
#pragma once #pragma once
#include <common.hpp>
#include <math.hpp>


#include <memory> #include <memory>
#include <map> #include <map>

#define GLEW_STATIC #define GLEW_STATIC
#define GLEW_NO_GLU #define GLEW_NO_GLU
#include <GL/glew.h> #include <GL/glew.h>
@@ -14,6 +13,9 @@
#include <nanovg_gl_utils.h> #include <nanovg_gl_utils.h>
#include <nanosvg.h> #include <nanosvg.h>


#include <common.hpp>
#include <math.hpp>



namespace rack { namespace rack {




+ 2
- 1
src/Quantity.cpp View File

@@ -1,6 +1,7 @@
#include <tinyexpr.h>

#include <Quantity.hpp> #include <Quantity.hpp>
#include <string.hpp> #include <string.hpp>
#include <tinyexpr.h>




namespace rack { namespace rack {


+ 5
- 3
src/app/MenuBar.cpp View File

@@ -1,3 +1,8 @@
#include <thread>
#include <utility>

#include <osdialog.h>

#include <app/MenuBar.hpp> #include <app/MenuBar.hpp>
#include <window.hpp> #include <window.hpp>
#include <engine/Engine.hpp> #include <engine/Engine.hpp>
@@ -17,9 +22,6 @@
#include <plugin.hpp> #include <plugin.hpp>
#include <patch.hpp> #include <patch.hpp>
#include <updater.hpp> #include <updater.hpp>
#include <osdialog.h>
#include <thread>
#include <utility>




namespace rack { namespace rack {


+ 3
- 3
src/app/ModuleBrowser.cpp View File

@@ -1,3 +1,6 @@
#include <set>
#include <algorithm>

#include <app/ModuleBrowser.hpp> #include <app/ModuleBrowser.hpp>
#include <widget/OpaqueWidget.hpp> #include <widget/OpaqueWidget.hpp>
#include <widget/TransparentWidget.hpp> #include <widget/TransparentWidget.hpp>
@@ -25,9 +28,6 @@
#include <settings.hpp> #include <settings.hpp>
#include <tag.hpp> #include <tag.hpp>


#include <set>
#include <algorithm>



namespace rack { namespace rack {
namespace app { namespace app {


+ 4
- 3
src/app/ModuleWidget.cpp View File

@@ -1,3 +1,7 @@
#include <thread>

#include <osdialog.h>

#include <app/ModuleWidget.hpp> #include <app/ModuleWidget.hpp>
#include <app/Scene.hpp> #include <app/Scene.hpp>
#include <engine/Engine.hpp> #include <engine/Engine.hpp>
@@ -13,9 +17,6 @@
#include <string.hpp> #include <string.hpp>
#include <tag.hpp> #include <tag.hpp>


#include <osdialog.h>
#include <thread>



namespace rack { namespace rack {
namespace app { namespace app {


+ 6
- 4
src/app/RackWidget.cpp View File

@@ -1,3 +1,9 @@
#include <map>
#include <algorithm>
#include <queue>

#include <osdialog.h>

#include <app/RackWidget.hpp> #include <app/RackWidget.hpp>
#include <widget/TransparentWidget.hpp> #include <widget/TransparentWidget.hpp>
#include <app/RackRail.hpp> #include <app/RackRail.hpp>
@@ -9,10 +15,6 @@
#include <context.hpp> #include <context.hpp>
#include <asset.hpp> #include <asset.hpp>
#include <patch.hpp> #include <patch.hpp>
#include <osdialog.h>
#include <map>
#include <algorithm>
#include <queue>




namespace rack { namespace rack {


+ 4
- 2
src/app/Scene.cpp View File

@@ -1,3 +1,7 @@
#include <thread>

#include <osdialog.h>

#include <app/Scene.hpp> #include <app/Scene.hpp>
#include <app/ModuleBrowser.hpp> #include <app/ModuleBrowser.hpp>
#include <context.hpp> #include <context.hpp>
@@ -7,8 +11,6 @@
#include <settings.hpp> #include <settings.hpp>
#include <patch.hpp> #include <patch.hpp>
#include <asset.hpp> #include <asset.hpp>
#include <osdialog.h>
#include <thread>




namespace rack { namespace rack {


+ 7
- 7
src/asset.cpp View File

@@ -1,10 +1,3 @@
#include <asset.hpp>
#include <system.hpp>
#include <settings.hpp>
#include <string.hpp>
#include <plugin/Plugin.hpp>
#include <app/common.hpp>

#if defined ARCH_MAC #if defined ARCH_MAC
#include <CoreFoundation/CoreFoundation.h> #include <CoreFoundation/CoreFoundation.h>
#include <CoreServices/CoreServices.h> #include <CoreServices/CoreServices.h>
@@ -23,6 +16,13 @@
#include <pwd.h> #include <pwd.h>
#endif #endif


#include <asset.hpp>
#include <system.hpp>
#include <settings.hpp>
#include <string.hpp>
#include <plugin/Plugin.hpp>
#include <app/common.hpp>



namespace rack { namespace rack {
namespace asset { namespace asset {


+ 4
- 4
src/core/AudioInterface.cpp View File

@@ -1,12 +1,12 @@
#include "plugin.hpp"
#include <audio.hpp>
#include <context.hpp>
#include <mutex> #include <mutex>
#include <chrono> #include <chrono>
#include <thread> #include <thread>
#include <mutex>
#include <condition_variable> #include <condition_variable>


#include "plugin.hpp"
#include <audio.hpp>
#include <context.hpp>



namespace rack { namespace rack {
namespace core { namespace core {


+ 2
- 1
src/core/MIDI_CV.cpp View File

@@ -1,6 +1,7 @@
#include "plugin.hpp"
#include <algorithm> #include <algorithm>


#include "plugin.hpp"



namespace rack { namespace rack {
namespace core { namespace core {


+ 8
- 8
src/engine/Engine.cpp View File

@@ -1,11 +1,3 @@
#include <engine/Engine.hpp>
#include <settings.hpp>
#include <system.hpp>
#include <random.hpp>
#include <context.hpp>
#include <patch.hpp>
#include <plugin.hpp>

#include <algorithm> #include <algorithm>
#include <thread> #include <thread>
#include <condition_variable> #include <condition_variable>
@@ -14,6 +6,14 @@
#include <tuple> #include <tuple>
#include <pmmintrin.h> #include <pmmintrin.h>


#include <engine/Engine.hpp>
#include <settings.hpp>
#include <system.hpp>
#include <random.hpp>
#include <context.hpp>
#include <patch.hpp>
#include <plugin.hpp>



namespace rack { namespace rack {
namespace engine { namespace engine {


+ 2
- 1
src/keyboard.cpp View File

@@ -1,7 +1,8 @@
#include <map>

#include <keyboard.hpp> #include <keyboard.hpp>
#include <midi.hpp> #include <midi.hpp>
#include <window.hpp> #include <window.hpp>
#include <map>




namespace rack { namespace rack {


+ 2
- 1
src/logger.cpp View File

@@ -1,8 +1,9 @@
#include <mutex>

#include <common.hpp> #include <common.hpp>
#include <asset.hpp> #include <asset.hpp>
#include <settings.hpp> #include <settings.hpp>
#include <system.hpp> #include <system.hpp>
#include <mutex>




namespace rack { namespace rack {


+ 3
- 2
src/midi.cpp View File

@@ -1,8 +1,9 @@
#include <map>
#include <utility>

#include <midi.hpp> #include <midi.hpp>
#include <string.hpp> #include <string.hpp>
#include <system.hpp> #include <system.hpp>
#include <map>
#include <utility>




namespace rack { namespace rack {


+ 3
- 2
src/network.cpp View File

@@ -1,8 +1,9 @@
#include <network.hpp>
#include <asset.hpp>
#define CURL_STATICLIB #define CURL_STATICLIB
#include <curl/curl.h> #include <curl/curl.h>


#include <network.hpp>
#include <asset.hpp>



namespace rack { namespace rack {
namespace network { namespace network {


+ 4
- 3
src/patch.cpp View File

@@ -1,3 +1,7 @@
#include <algorithm>

#include <osdialog.h>

#include <patch.hpp> #include <patch.hpp>
#include <asset.hpp> #include <asset.hpp>
#include <system.hpp> #include <system.hpp>
@@ -8,9 +12,6 @@
#include <app/RackWidget.hpp> #include <app/RackWidget.hpp>
#include <history.hpp> #include <history.hpp>
#include <settings.hpp> #include <settings.hpp>
#include <algorithm>

#include <osdialog.h>




namespace rack { namespace rack {


+ 16
- 16
src/plugin.cpp View File

@@ -1,25 +1,12 @@
#include <plugin.hpp>
#include <system.hpp>
#include <network.hpp>
#include <asset.hpp>
#include <string.hpp>
#include <context.hpp>
#include <app/common.hpp>
#include <plugin/callbacks.hpp>
#include <settings.hpp>
#include <engine/Module.hpp>
#include <thread>
#include <map>
#include <stdexcept>


#include <sys/types.h> #include <sys/types.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <unistd.h> #include <unistd.h>
#include <sys/param.h> // for MAXPATHLEN #include <sys/param.h> // for MAXPATHLEN
#include <fcntl.h> #include <fcntl.h>
#include <thread>
#include <map>
#include <stdexcept>

#include <jansson.h>

#if defined ARCH_WIN #if defined ARCH_WIN
#include <windows.h> #include <windows.h>
#include <direct.h> #include <direct.h>
@@ -27,7 +14,20 @@
#include <dlfcn.h> #include <dlfcn.h>
#endif #endif
#include <dirent.h> #include <dirent.h>

#include <osdialog.h> #include <osdialog.h>
#include <jansson.h>

#include <plugin.hpp>
#include <system.hpp>
#include <network.hpp>
#include <asset.hpp>
#include <string.hpp>
#include <context.hpp>
#include <app/common.hpp>
#include <plugin/callbacks.hpp>
#include <settings.hpp>
#include <engine/Module.hpp>




namespace rack { namespace rack {


+ 5
- 3
src/random.cpp View File

@@ -1,8 +1,10 @@
#include <random.hpp>
#include <math.hpp>
#include <atomic>
#include <time.h> #include <time.h>
#include <sys/time.h> #include <sys/time.h>
#include <atomic>

#include <random.hpp>
#include <math.hpp>




namespace rack { namespace rack {


+ 6
- 5
src/rtaudio.cpp View File

@@ -1,8 +1,3 @@
#include <rtaudio.hpp>
#include <audio.hpp>
#include <string.hpp>
#include <math.hpp>
#include <system.hpp>
#include <map> #include <map>
#include <algorithm> #include <algorithm>


@@ -13,6 +8,12 @@
#include <RtAudio.h> #include <RtAudio.h>
#pragma GCC diagnostic pop #pragma GCC diagnostic pop


#include <rtaudio.hpp>
#include <audio.hpp>
#include <string.hpp>
#include <math.hpp>
#include <system.hpp>



namespace rack { namespace rack {




+ 3
- 2
src/rtmidi.cpp View File

@@ -1,5 +1,3 @@
#include <rtmidi.hpp>
#include <midi.hpp>
#include <map> #include <map>


#pragma GCC diagnostic push #pragma GCC diagnostic push
@@ -9,6 +7,9 @@
#include <rtmidi/RtMidi.h> #include <rtmidi/RtMidi.h>
#pragma GCC diagnostic pop #pragma GCC diagnostic pop


#include <rtmidi.hpp>
#include <midi.hpp>



namespace rack { namespace rack {




+ 2
- 1
src/settings.cpp View File

@@ -1,3 +1,5 @@
#include <jansson.h>

#include <settings.hpp> #include <settings.hpp>
#include <window.hpp> #include <window.hpp>
#include <plugin.hpp> #include <plugin.hpp>
@@ -6,7 +8,6 @@
#include <engine/Engine.hpp> #include <engine/Engine.hpp>
#include <context.hpp> #include <context.hpp>
#include <patch.hpp> #include <patch.hpp>
#include <jansson.h>




namespace rack { namespace rack {


+ 2
- 1
src/string.cpp View File

@@ -1,4 +1,3 @@
#include <string.hpp>
#include <locale> // for wstring_convert #include <locale> // for wstring_convert
#include <codecvt> // for codecvt_utf8_utf16 #include <codecvt> // for codecvt_utf8_utf16
#include <cctype> // for tolower and toupper #include <cctype> // for tolower and toupper
@@ -6,6 +5,8 @@
#include <libgen.h> // for dirname and basename #include <libgen.h> // for dirname and basename
#include <zlib.h> #include <zlib.h>


#include <string.hpp>



namespace rack { namespace rack {
namespace string { namespace string {


+ 4
- 3
src/system.cpp View File

@@ -1,9 +1,7 @@
#include <system.hpp>
#include <string.hpp>

#include <thread> #include <thread>
#include <regex> #include <regex>
#include <chrono> #include <chrono>

#include <dirent.h> #include <dirent.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <cxxabi.h> // for __cxxabiv1::__cxa_demangle #include <cxxabi.h> // for __cxxabiv1::__cxa_demangle
@@ -31,6 +29,9 @@
#define ZIP_STATIC #define ZIP_STATIC
#include <zip.h> #include <zip.h>


#include <system.hpp>
#include <string.hpp>



namespace rack { namespace rack {
namespace system { namespace system {


+ 1
- 1
src/tag.cpp View File

@@ -1,6 +1,6 @@
#include <map>
#include <tag.hpp> #include <tag.hpp>
#include <string.hpp> #include <string.hpp>
#include <map>




namespace rack { namespace rack {


+ 1
- 0
src/ui/Menu.cpp View File

@@ -1,5 +1,6 @@
#include <ui/Menu.hpp> #include <ui/Menu.hpp>



namespace rack { namespace rack {
namespace ui { namespace ui {




+ 2
- 1
src/ui/SequentialLayout.cpp View File

@@ -1,6 +1,7 @@
#include <ui/SequentialLayout.hpp>
#include <vector> #include <vector>


#include <ui/SequentialLayout.hpp>



namespace rack { namespace rack {
namespace ui { namespace ui {


+ 2
- 1
src/updater.cpp View File

@@ -1,3 +1,5 @@
#include <thread>

#include <updater.hpp> #include <updater.hpp>
#include <settings.hpp> #include <settings.hpp>
#include <app/common.hpp> #include <app/common.hpp>
@@ -6,7 +8,6 @@
#include <context.hpp> #include <context.hpp>
#include <window.hpp> #include <window.hpp>
#include <asset.hpp> #include <asset.hpp>
#include <thread>




namespace rack { namespace rack {


+ 2
- 1
src/widget/Widget.cpp View File

@@ -1,6 +1,7 @@
#include <algorithm>

#include <widget/Widget.hpp> #include <widget/Widget.hpp>
#include <context.hpp> #include <context.hpp>
#include <algorithm>




namespace rack { namespace rack {


+ 12
- 12
src/window.cpp View File

@@ -1,3 +1,15 @@
#include <map>
#include <queue>
#include <thread>

#if defined ARCH_MAC
// For CGAssociateMouseAndMouseCursorPosition
#include <ApplicationServices/ApplicationServices.h>
#endif

#include <stb_image_write.h>
#include <osdialog.h>

#include <window.hpp> #include <window.hpp>
#include <asset.hpp> #include <asset.hpp>
#include <app/Scene.hpp> #include <app/Scene.hpp>
@@ -10,18 +22,6 @@
#include <plugin.hpp> // used in Window::screenshot #include <plugin.hpp> // used in Window::screenshot
#include <system.hpp> // used in Window::screenshot #include <system.hpp> // used in Window::screenshot


#include <map>
#include <queue>
#include <thread>

#if defined ARCH_MAC
// For CGAssociateMouseAndMouseCursorPosition
#include <ApplicationServices/ApplicationServices.h>
#endif

#include <osdialog.h>
#include <stb_image_write.h>



namespace rack { namespace rack {




Loading…
Cancel
Save