DPF

DISTRHO Plugin Framework
Log | Files | Refs | Submodules | README | LICENSE

commit 16f0cf62a4045ccbac10a69e1593cedb7c6f8e30
parent 9385efa083f32f18558b374cd8a73a75383dfb36
Author: Jean Pierre Cimalando <jp-dev@inbox.ru>
Date:   Sun,  6 Jun 2021 02:50:25 +0200

Add DGL namespace where missing

Diffstat:
Mdistrho/DistrhoUI.hpp | 2+-
Mdistrho/src/DistrhoPluginJack.cpp | 2+-
Mdistrho/src/DistrhoUI.cpp | 2+-
Mdistrho/src/DistrhoUIDSSI.cpp | 2+-
Mdistrho/src/DistrhoUIInternal.hpp | 4++--
Mdistrho/src/DistrhoUIPrivateData.hpp | 2+-
6 files changed, 7 insertions(+), 7 deletions(-)

diff --git a/distrho/DistrhoUI.hpp b/distrho/DistrhoUI.hpp @@ -259,7 +259,7 @@ protected: The default implementation does nothing. */ - virtual void uiFocus(bool focus, CrossingMode mode); + virtual void uiFocus(bool focus, DGL_NAMESPACE::CrossingMode mode); /** Window reshape function, called when the window is resized. diff --git a/distrho/src/DistrhoPluginJack.cpp b/distrho/src/DistrhoPluginJack.cpp @@ -100,7 +100,7 @@ static void initSignalHandler() // ----------------------------------------------------------------------- #if DISTRHO_PLUGIN_HAS_UI -class PluginJack : public IdleCallback +class PluginJack : public DGL_NAMESPACE::IdleCallback #else class PluginJack #endif diff --git a/distrho/src/DistrhoUI.cpp b/distrho/src/DistrhoUI.cpp @@ -161,7 +161,7 @@ void UI::sampleRateChanged(double) /* ------------------------------------------------------------------------------------------------------------ * UI Callbacks (optional) */ -void UI::uiFocus(bool, CrossingMode) +void UI::uiFocus(bool, DGL_NAMESPACE::CrossingMode) { } diff --git a/distrho/src/DistrhoUIDSSI.cpp b/distrho/src/DistrhoUIDSSI.cpp @@ -93,7 +93,7 @@ struct OscData { // ----------------------------------------------------------------------- -class UIDssi : public IdleCallback +class UIDssi : public DGL_NAMESPACE::IdleCallback { public: UIDssi(const OscData& oscData, const char* const uiTitle, const double sampleRate) diff --git a/distrho/src/DistrhoUIInternal.hpp b/distrho/src/DistrhoUIInternal.hpp @@ -195,7 +195,7 @@ public: // ------------------------------------------------------------------- #if DISTRHO_PLUGIN_HAS_EXTERNAL_UI - void exec(IdleCallback* const cb) + void exec(DGL_NAMESPACE::IdleCallback* const cb) { DISTRHO_SAFE_ASSERT_RETURN(cb != nullptr,); DISTRHO_SAFE_ASSERT_RETURN(ui != nullptr,); @@ -228,7 +228,7 @@ public: } #else # if DISTRHO_UI_IS_STANDALONE - void exec(IdleCallback* const cb) + void exec(DGL_NAMESPACE::IdleCallback* const cb) { DISTRHO_SAFE_ASSERT_RETURN(cb != nullptr,); diff --git a/distrho/src/DistrhoUIPrivateData.hpp b/distrho/src/DistrhoUIPrivateData.hpp @@ -239,7 +239,7 @@ public: ui(uiPtr) {} protected: - void onFocus(const bool focus, const CrossingMode mode) override + void onFocus(const bool focus, const DGL_NAMESPACE::CrossingMode mode) override { DISTRHO_SAFE_ASSERT_RETURN(ui != nullptr,);