From 12a7deb15f176f05acd341278cbb8f3590c933d5 Mon Sep 17 00:00:00 2001 From: Johnny Date: Wed, 18 Dec 2024 15:23:50 +0800 Subject: [PATCH] feat: BGMAppDelegate.h forward declaring @class BGMAudioDeviceManager and @class BGMAppVolumesController --- BGMApp/BGMApp/BGMAppDelegate.h | 6 ++---- BGMApp/BGMApp/Scripting/BGMAppDelegate+AppleScript.h | 4 ++++ 2 files changed, 6 insertions(+), 4 deletions(-) diff --git a/BGMApp/BGMApp/BGMAppDelegate.h b/BGMApp/BGMApp/BGMAppDelegate.h index e2ceb224..48b2c7d2 100644 --- a/BGMApp/BGMApp/BGMAppDelegate.h +++ b/BGMApp/BGMApp/BGMAppDelegate.h @@ -23,13 +23,11 @@ // Sets up and tears down the app. // -// Local Includes -#import "BGMAudioDeviceManager.h" -#import "BGMAppVolumesController.h" - // System Includes #import +@class BGMAudioDeviceManager; +@class BGMAppVolumesController; // Tags for UI elements in MainMenu.xib static NSInteger const kVolumesHeadingMenuItemTag = 3; diff --git a/BGMApp/BGMApp/Scripting/BGMAppDelegate+AppleScript.h b/BGMApp/BGMApp/Scripting/BGMAppDelegate+AppleScript.h index d1b301f8..13392376 100644 --- a/BGMApp/BGMApp/Scripting/BGMAppDelegate+AppleScript.h +++ b/BGMApp/BGMApp/Scripting/BGMAppDelegate+AppleScript.h @@ -23,6 +23,10 @@ #import "BGMAppDelegate.h" +// Local Includes +#import "BGMAudioDeviceManager.h" +#import "BGMAppVolumesController.h" + // Local Includes #import "BGMASOutputDevice.h" #import "BGMASApplication.h"