commit e03cea028ed891ba253e23896223b09b016c5da6 parent 8fb0b54755f3ca46548a2cd54bd89f520e27d19f Author: falkTX <falktx@gmail.com> Date: Mon, 12 May 2014 23:07:00 +0100 Misc Diffstat:
M | distrho/DistrhoUI.hpp | | | 14 | +++++++------- |
1 file changed, 7 insertions(+), 7 deletions(-)
diff --git a/distrho/DistrhoUI.hpp b/distrho/DistrhoUI.hpp @@ -51,6 +51,13 @@ public: void d_uiResize(uint width, uint height); +#if DISTRHO_PLUGIN_WANT_DIRECT_ACCESS + // ------------------------------------------------------------------- + // Direct DSP access - DO NOT USE THIS UNLESS STRICTLY NECESSARY!! + + void* d_getPluginInstancePointer() const noexcept; +#endif + protected: // ------------------------------------------------------------------- // Basic Information @@ -75,13 +82,6 @@ protected: virtual void d_uiIdle() {} -#if DISTRHO_PLUGIN_WANT_DIRECT_ACCESS - // ------------------------------------------------------------------- - // Direct DSP access - DO NOT USE THIS UNLESS STRICTLY NECESSARY!! - - void* d_getPluginInstancePointer() const noexcept; -#endif - // ------------------------------------------------------------------- private: