From 66a7d1f0e687bf6236b443c2fb633bbb77b6836d Mon Sep 17 00:00:00 2001 From: Matt Firth Date: Fri, 13 Oct 2023 13:23:42 +0100 Subject: [PATCH] Simplify JUCE includes in update_check --- .../src/reaper_adm/CMakeLists.txt | 1 - .../src/reaper_adm/juce_modules.h | 16 ---------------- shared/update_check.cpp | 1 - shared/update_check.h | 3 ++- 4 files changed, 2 insertions(+), 19 deletions(-) delete mode 100644 reaper-adm-extension/src/reaper_adm/juce_modules.h diff --git a/reaper-adm-extension/src/reaper_adm/CMakeLists.txt b/reaper-adm-extension/src/reaper_adm/CMakeLists.txt index 58061bf3e..45c409f5a 100644 --- a/reaper-adm-extension/src/reaper_adm/CMakeLists.txt +++ b/reaper-adm-extension/src/reaper_adm/CMakeLists.txt @@ -86,7 +86,6 @@ set(EXTENSION_HEADERS ${EPS_SHARED_DIR}/update_check.h AppConfig.h - juce_modules.h actionmanager.h admchannel.h diff --git a/reaper-adm-extension/src/reaper_adm/juce_modules.h b/reaper-adm-extension/src/reaper_adm/juce_modules.h deleted file mode 100644 index 92238132d..000000000 --- a/reaper-adm-extension/src/reaper_adm/juce_modules.h +++ /dev/null @@ -1,16 +0,0 @@ -#pragma once -#include "AppConfig.h" -#include -#include -// Will leave these here in case we want to use any other modules at a later date -// Don't forget to change the associated macro in AppConfig.h -//include -//include -//include -//include -//include -//include -//include -//include -//include -//include diff --git a/shared/update_check.cpp b/shared/update_check.cpp index cae23fc78..617f62f8e 100644 --- a/shared/update_check.cpp +++ b/shared/update_check.cpp @@ -4,7 +4,6 @@ #include #include #include -#include UpdateChecker::UpdateChecker() { diff --git a/shared/update_check.h b/shared/update_check.h index fa6c03243..3ec084be5 100644 --- a/shared/update_check.h +++ b/shared/update_check.h @@ -1,6 +1,7 @@ #pragma once #include -#include +#include +#include #include class UpdateChecker {