Signed-off-by: falkTX <falktx@falktx.com>tags/24.05
| @@ -17,7 +17,7 @@ | |||||
| #include "CardinalCommon.hpp" | #include "CardinalCommon.hpp" | ||||
| #include "AsyncDialog.hpp" | #include "AsyncDialog.hpp" | ||||
| #include "PluginContext.hpp" | |||||
| #include "CardinalPluginContext.hpp" | |||||
| #include "DistrhoPluginUtils.hpp" | #include "DistrhoPluginUtils.hpp" | ||||
| #include <asset.hpp> | #include <asset.hpp> | ||||
| @@ -162,9 +162,11 @@ CardinalPluginContext::CardinalPluginContext(Plugin* const p) | |||||
| dataOuts(nullptr), | dataOuts(nullptr), | ||||
| midiEvents(nullptr), | midiEvents(nullptr), | ||||
| midiEventCount(0), | midiEventCount(0), | ||||
| plugin(p), | |||||
| tlw(nullptr), | |||||
| ui(nullptr) | |||||
| plugin(p) | |||||
| #ifndef HEADLESS | |||||
| , tlw(nullptr) | |||||
| , ui(nullptr) | |||||
| #endif | |||||
| { | { | ||||
| std::memset(parameters, 0, sizeof(parameters)); | std::memset(parameters, 0, sizeof(parameters)); | ||||
| } | } | ||||
| @@ -32,7 +32,7 @@ | |||||
| #include "CardinalCommon.hpp" | #include "CardinalCommon.hpp" | ||||
| #include "DistrhoPluginUtils.hpp" | #include "DistrhoPluginUtils.hpp" | ||||
| #include "PluginContext.hpp" | |||||
| #include "CardinalPluginContext.hpp" | |||||
| #include "extra/Base64.hpp" | #include "extra/Base64.hpp" | ||||
| #include "extra/ScopedDenormalDisable.hpp" | #include "extra/ScopedDenormalDisable.hpp" | ||||
| #include "extra/ScopedSafeLocale.hpp" | #include "extra/ScopedSafeLocale.hpp" | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * DISTRHO Cardinal Plugin | * DISTRHO Cardinal Plugin | ||||
| * Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -24,7 +24,7 @@ | |||||
| #endif | #endif | ||||
| #include "CardinalRemote.hpp" | #include "CardinalRemote.hpp" | ||||
| #include "PluginContext.hpp" | |||||
| #include "CardinalPluginContext.hpp" | |||||
| #include "extra/Base64.hpp" | #include "extra/Base64.hpp" | ||||
| #include "extra/ScopedSafeLocale.hpp" | #include "extra/ScopedSafeLocale.hpp" | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * DISTRHO Cardinal Plugin | * DISTRHO Cardinal Plugin | ||||
| * Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -18,7 +18,7 @@ | |||||
| #pragma once | #pragma once | ||||
| #include "NanoVG.hpp" | #include "NanoVG.hpp" | ||||
| #include "PluginContext.hpp" | |||||
| #include "CardinalPluginContext.hpp" | |||||
| #include "WindowParameters.hpp" | #include "WindowParameters.hpp" | ||||
| #include <widget/Widget.hpp> | #include <widget/Widget.hpp> | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * DISTRHO Cardinal Plugin | * DISTRHO Cardinal Plugin | ||||
| * Copyright (C) 2021-2022 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -30,7 +30,7 @@ | |||||
| #include <engine/Engine.hpp> | #include <engine/Engine.hpp> | ||||
| #include <ui/common.hpp> | #include <ui/common.hpp> | ||||
| #include "PluginContext.hpp" | |||||
| #include "CardinalPluginContext.hpp" | |||||
| #include "extra/ScopedValueSetter.hpp" | #include "extra/ScopedValueSetter.hpp" | ||||
| #define CARDINAL_TEMPLATE_NAME "init/main.vcv" | #define CARDINAL_TEMPLATE_NAME "init/main.vcv" | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * DISTRHO Cardinal Plugin | * DISTRHO Cardinal Plugin | ||||
| * Copyright (C) 2021-2023 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -49,7 +49,7 @@ | |||||
| #include "Application.hpp" | #include "Application.hpp" | ||||
| #include "AsyncDialog.hpp" | #include "AsyncDialog.hpp" | ||||
| #include "CardinalCommon.hpp" | #include "CardinalCommon.hpp" | ||||
| #include "PluginContext.hpp" | |||||
| #include "CardinalPluginContext.hpp" | |||||
| #include "WindowParameters.hpp" | #include "WindowParameters.hpp" | ||||
| #include "extra/Base64.hpp" | #include "extra/Base64.hpp" | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * DISTRHO Cardinal Plugin | * DISTRHO Cardinal Plugin | ||||
| * Copyright (C) 2021-2023 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -16,7 +16,7 @@ | |||||
| */ | */ | ||||
| #include "Application.hpp" | #include "Application.hpp" | ||||
| #include "PluginContext.hpp" | |||||
| #include "CardinalPluginContext.hpp" | |||||
| #include <GLFW/glfw3.h> | #include <GLFW/glfw3.h> | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * DISTRHO Cardinal Plugin | * DISTRHO Cardinal Plugin | ||||
| * Copyright (C) 2021-2023 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -53,7 +53,7 @@ | |||||
| #include "../CardinalCommon.hpp" | #include "../CardinalCommon.hpp" | ||||
| #include "../CardinalRemote.hpp" | #include "../CardinalRemote.hpp" | ||||
| #include "../PluginContext.hpp" | |||||
| #include "../CardinalPluginContext.hpp" | |||||
| #include "DistrhoPlugin.hpp" | #include "DistrhoPlugin.hpp" | ||||
| #include "DistrhoStandaloneUtils.hpp" | #include "DistrhoStandaloneUtils.hpp" | ||||
| @@ -1,6 +1,6 @@ | |||||
| /* | /* | ||||
| * DISTRHO Cardinal Plugin | * DISTRHO Cardinal Plugin | ||||
| * Copyright (C) 2021-2023 Filipe Coelho <falktx@falktx.com> | |||||
| * Copyright (C) 2021-2024 Filipe Coelho <falktx@falktx.com> | |||||
| * | * | ||||
| * This program is free software; you can redistribute it and/or | * This program is free software; you can redistribute it and/or | ||||
| * modify it under the terms of the GNU General Public License as | * modify it under the terms of the GNU General Public License as | ||||
| @@ -46,7 +46,7 @@ | |||||
| #include "Application.hpp" | #include "Application.hpp" | ||||
| #include "extra/String.hpp" | #include "extra/String.hpp" | ||||
| #include "../CardinalCommon.hpp" | #include "../CardinalCommon.hpp" | ||||
| #include "../PluginContext.hpp" | |||||
| #include "../CardinalPluginContext.hpp" | |||||
| #include "../WindowParameters.hpp" | #include "../WindowParameters.hpp" | ||||
| #ifndef DGL_NO_SHARED_RESOURCES | #ifndef DGL_NO_SHARED_RESOURCES | ||||