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.

140 lines
3.5KB

  1. #pragma once
  2. /*
  3. The following headers are the "public" API of Rack.
  4. Directly including Rack headers other than rack.hpp in your plugin is unsupported/unstable, since filenames and locations of symbols may change in any Rack version.
  5. */
  6. #include <common.hpp>
  7. #include <math.hpp>
  8. #include <string.hpp>
  9. #include <system.hpp>
  10. #include <random.hpp>
  11. #include <network.hpp>
  12. #include <asset.hpp>
  13. #include <window/Window.hpp>
  14. #include <context.hpp>
  15. #include <audio.hpp>
  16. #include <midi.hpp>
  17. #include <settings.hpp>
  18. #include <helpers.hpp>
  19. #include <componentlibrary.hpp>
  20. #include <widget/TransparentWidget.hpp>
  21. #include <widget/OpenGlWidget.hpp>
  22. #include <widget/OpaqueWidget.hpp>
  23. #include <widget/FramebufferWidget.hpp>
  24. #include <widget/TransformWidget.hpp>
  25. #include <widget/event.hpp>
  26. #include <widget/ZoomWidget.hpp>
  27. #include <widget/SvgWidget.hpp>
  28. #include <widget/Widget.hpp>
  29. #include <ui/Tooltip.hpp>
  30. #include <ui/MenuLabel.hpp>
  31. #include <ui/MenuEntry.hpp>
  32. #include <ui/List.hpp>
  33. #include <ui/TooltipOverlay.hpp>
  34. #include <ui/Slider.hpp>
  35. #include <ui/Scrollbar.hpp>
  36. #include <ui/ProgressBar.hpp>
  37. #include <ui/MenuSeparator.hpp>
  38. #include <ui/MenuOverlay.hpp>
  39. #include <ui/Label.hpp>
  40. #include <ui/TextField.hpp>
  41. #include <ui/SequentialLayout.hpp>
  42. #include <ui/MenuItem.hpp>
  43. #include <ui/Button.hpp>
  44. #include <ui/ChoiceButton.hpp>
  45. #include <ui/OptionButton.hpp>
  46. #include <ui/RadioButton.hpp>
  47. #include <ui/Menu.hpp>
  48. #include <ui/ScrollWidget.hpp>
  49. #include <ui/PasswordField.hpp>
  50. #include <app/SliderKnob.hpp>
  51. #include <app/MultiLightWidget.hpp>
  52. #include <app/MidiWidget.hpp>
  53. #include <app/CircularShadow.hpp>
  54. #include <app/AudioWidget.hpp>
  55. #include <app/LedDisplay.hpp>
  56. #include <app/ModuleLightWidget.hpp>
  57. #include <app/LightWidget.hpp>
  58. #include <app/RailWidget.hpp>
  59. #include <app/PortWidget.hpp>
  60. #include <app/CableWidget.hpp>
  61. #include <app/Switch.hpp>
  62. #include <app/RackScrollWidget.hpp>
  63. #include <app/Knob.hpp>
  64. #include <app/Scene.hpp>
  65. #include <app/RackWidget.hpp>
  66. #include <app/ParamWidget.hpp>
  67. #include <app/SvgKnob.hpp>
  68. #include <app/SvgPanel.hpp>
  69. #include <app/SvgPort.hpp>
  70. #include <app/SvgSwitch.hpp>
  71. #include <app/SvgScrew.hpp>
  72. #include <app/ModuleWidget.hpp>
  73. #include <app/SvgSlider.hpp>
  74. #include <app/SvgButton.hpp>
  75. #include <engine/Param.hpp>
  76. #include <engine/ParamHandle.hpp>
  77. #include <engine/LightInfo.hpp>
  78. #include <engine/PortInfo.hpp>
  79. #include <engine/Light.hpp>
  80. #include <engine/Cable.hpp>
  81. #include <engine/Port.hpp>
  82. #include <engine/ParamQuantity.hpp>
  83. #include <engine/Module.hpp>
  84. #include <engine/Engine.hpp>
  85. #include <plugin/Plugin.hpp>
  86. #include <plugin/Model.hpp>
  87. #include <plugin/callbacks.hpp>
  88. #include <dsp/window.hpp>
  89. #include <dsp/ode.hpp>
  90. #include <dsp/minblep.hpp>
  91. #include <dsp/fft.hpp>
  92. #include <dsp/ringbuffer.hpp>
  93. #include <dsp/resampler.hpp>
  94. #include <dsp/fir.hpp>
  95. #include <dsp/approx.hpp>
  96. #include <dsp/midi.hpp>
  97. #include <dsp/vumeter.hpp>
  98. #include <dsp/filter.hpp>
  99. #include <dsp/digital.hpp>
  100. #include <dsp/common.hpp>
  101. #include <simd/Vector.hpp>
  102. #include <simd/functions.hpp>
  103. #undef INTERNAL
  104. #if defined ARCH_WIN
  105. #define INTERNAL __attribute__((error("Using internal Rack function or symbol")))
  106. #else
  107. #define INTERNAL __attribute__((visibility("hidden"))) __attribute__((error("Using internal Rack function or symbol")))
  108. #endif
  109. namespace rack {
  110. // Import some namespaces for convenience
  111. using namespace logger;
  112. using namespace math;
  113. using namespace window;
  114. using namespace widget;
  115. using namespace ui;
  116. using namespace app;
  117. using plugin::Plugin;
  118. using plugin::Model;
  119. using namespace engine;
  120. using namespace componentlibrary;
  121. } // namespace rack