You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

117 lines
2.9KB

  1. #pragma once
  2. // Include most Rack headers for convenience
  3. #include "common.hpp"
  4. #include "math.hpp"
  5. #include "string.hpp"
  6. #include "system.hpp"
  7. #include "random.hpp"
  8. #include "network.hpp"
  9. #include "asset.hpp"
  10. #include "window.hpp"
  11. #include "app.hpp"
  12. #include "midi.hpp"
  13. #include "helpers.hpp"
  14. #include "componentlibrary.hpp"
  15. #include "widget/Widget.hpp"
  16. #include "widget/TransparentWidget.hpp"
  17. #include "widget/OpaqueWidget.hpp"
  18. #include "widget/TransformWidget.hpp"
  19. #include "widget/ZoomWidget.hpp"
  20. #include "widget/SvgWidget.hpp"
  21. #include "widget/FramebufferWidget.hpp"
  22. #include "widget/OpenGlWidget.hpp"
  23. #include "ui/SequentialLayout.hpp"
  24. #include "ui/Label.hpp"
  25. #include "ui/List.hpp"
  26. #include "ui/MenuOverlay.hpp"
  27. #include "ui/Tooltip.hpp"
  28. #include "ui/TextField.hpp"
  29. #include "ui/PasswordField.hpp"
  30. #include "ui/ScrollWidget.hpp"
  31. #include "ui/Slider.hpp"
  32. #include "ui/Menu.hpp"
  33. #include "ui/MenuEntry.hpp"
  34. #include "ui/MenuSeparator.hpp"
  35. #include "ui/MenuLabel.hpp"
  36. #include "ui/MenuItem.hpp"
  37. #include "ui/Button.hpp"
  38. #include "ui/IconButton.hpp"
  39. #include "ui/ChoiceButton.hpp"
  40. #include "ui/RadioButton.hpp"
  41. #include "ui/ProgressBar.hpp"
  42. #include "app/AudioWidget.hpp"
  43. #include "app/CircularShadow.hpp"
  44. #include "app/Knob.hpp"
  45. #include "app/LedDisplay.hpp"
  46. #include "app/LightWidget.hpp"
  47. #include "app/MidiWidget.hpp"
  48. #include "app/ModuleLightWidget.hpp"
  49. #include "app/ModuleWidget.hpp"
  50. #include "app/MultiLightWidget.hpp"
  51. #include "app/ParamWidget.hpp"
  52. #include "app/PortWidget.hpp"
  53. #include "app/RackRail.hpp"
  54. #include "app/Scene.hpp"
  55. #include "app/RackScrollWidget.hpp"
  56. #include "app/RackWidget.hpp"
  57. #include "app/SvgButton.hpp"
  58. #include "app/SvgKnob.hpp"
  59. #include "app/SvgPanel.hpp"
  60. #include "app/SvgPort.hpp"
  61. #include "app/SvgScrew.hpp"
  62. #include "app/SvgSlider.hpp"
  63. #include "app/SvgSwitch.hpp"
  64. #include "app/MenuBar.hpp"
  65. #include "app/CableWidget.hpp"
  66. #include "engine/Engine.hpp"
  67. #include "engine/Param.hpp"
  68. #include "engine/Port.hpp"
  69. #include "engine/Module.hpp"
  70. #include "engine/Param.hpp"
  71. #include "engine/Cable.hpp"
  72. #include "plugin/Plugin.hpp"
  73. #include "plugin/Model.hpp"
  74. #include "plugin/callbacks.hpp"
  75. #include "dsp/common.hpp"
  76. #include "dsp/digital.hpp"
  77. #include "dsp/fft.hpp"
  78. #include "dsp/filter.hpp"
  79. #include "dsp/fir.hpp"
  80. #include "dsp/frame.hpp"
  81. #include "dsp/minblep.hpp"
  82. #include "dsp/ode.hpp"
  83. #include "dsp/resampler.hpp"
  84. #include "dsp/ringbuffer.hpp"
  85. #include "dsp/vumeter.hpp"
  86. #include "dsp/window.hpp"
  87. #include "simd/vector.hpp"
  88. #include "simd/functions.hpp"
  89. namespace rack {
  90. /** Define this macro before including this header to prevent common namespaces from being included in the main `rack::` namespace. */
  91. #ifndef RACK_FLATTEN_NAMESPACES
  92. // Import some namespaces for convenience
  93. using namespace math;
  94. using namespace widget;
  95. using namespace ui;
  96. using namespace app;
  97. using plugin::Plugin;
  98. using plugin::Model;
  99. using namespace engine;
  100. using namespace componentlibrary;
  101. #endif
  102. } // namespace rack