| 1 |
// |
| 2 |
// AudioSettingsPrefPanelController.h |
| 3 |
// Alchemusica |
| 4 |
// |
| 5 |
// Created by Toshi Nagata on 2019/07/21. |
| 6 |
// Copyright 2010-2019 Toshi Nagata. All rights reserved. |
| 7 |
// |
| 8 |
/* |
| 9 |
This program is free software; you can redistribute it and/or modify |
| 10 |
it under the terms of the GNU General Public License as published by |
| 11 |
the Free Software Foundation version 2 of the License. |
| 12 |
|
| 13 |
This program is distributed in the hope that it will be useful, |
| 14 |
but WITHOUT ANY WARRANTY; without even the implied warranty of |
| 15 |
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
| 16 |
GNU General Public License for more details. |
| 17 |
*/ |
| 18 |
|
| 19 |
#import <Cocoa/Cocoa.h> |
| 20 |
|
| 21 |
@interface AudioSettingsPrefPanelController : NSWindowController { |
| 22 |
IBOutlet NSPopUpButton *devicePopUp; |
| 23 |
IBOutlet NSButton *internalCheck; |
| 24 |
IBOutlet NSButton *applicationCheck; |
| 25 |
IBOutlet NSButton *selectButton; |
| 26 |
IBOutlet NSTextField *applicationPath; |
| 27 |
NSMutableArray *settings; |
| 28 |
} |
| 29 |
+ (void)openAudioSettingsPrefPanel; |
| 30 |
+ (AudioSettingsPrefPanelController *)sharedAudioSettingsPrefPanelController; |
| 31 |
+ (BOOL)shouldSaveInternalForDeviceName:(const char *)name; |
| 32 |
+ (NSString *)shouldCallApplicationForDeviceName:(const char *)name; |
| 33 |
- (void)updateDisplay; |
| 34 |
- (IBAction)devicePopUpSelected:(id)sender; |
| 35 |
- (IBAction)selectApplication:(id)sender; |
| 36 |
- (IBAction)checkBoxClicked:(id)sender; |
| 37 |
- (IBAction)cancelClicked:(id)sender; |
| 38 |
- (IBAction)saveClicked:(id)sender; |
| 39 |
@end |