text: // This file is part of Background Music.
  //
  // Background Music is free software: you can redistribute it and/or
  // modify it under the terms of the GNU General Public License as
  // published by the Free Software Foundation, either version 2 of the
  // License, or (at your option) any later version.
  //
  // Background Music is distributed in the hope that it will be useful,
  // but WITHOUT ANY WARRANTY; without even the implied warranty of
  // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
  // GNU General Public License for more details.
  //
  // You should have received a copy of the GNU General Public License
  // along with Background Music. If not, see <http://www.gnu.org/licenses/>.
  
  //
  //  BGMAppDelegate+AppleScript.h
  //  BGMApp
  //
  //  Copyright © 2017 Kyle Neideck
  //  Copyright © 2021 Marcus Wu
  //
  
  #import "BGMAppDelegate.h"
  
  // Local Includes
  #import "BGMASOutputDevice.h"
  #import "BGMASApplication.h"
  
  // System Includes
  #import <Foundation/Foundation.h>
  
  
  #pragma clang assume_nonnull begin
  
  @interface BGMAppDelegate (AppleScript)
  
  - (BOOL) application:(NSApplication*)sender delegateHandlesKey:(NSString*)key;
  
  @property BGMASOutputDevice* selectedOutputDevice;
  @property (readonly) NSArray<BGMASOutputDevice*>* outputDevices;
  @property double mainVolume;
  @property (readonly) NSArray<BGMASApplication*>* applications;
  
  @end
  
  #pragma clang assume_nonnull end
  
  