MusicKit  0.0.0
SndAudioProcessorInspector.h
00001 
00002 //
00003 //  $Id$
00004 //
00005 //  Description:
00006 //    See Class headerdoc description below.
00007 //
00008 //  Original Author: SKoT McDonald, <skot@tomandandy.com>
00009 //
00010 //  Copyright (c) 2001, The MusicKit Project.  All rights reserved.
00011 //
00012 //  Permission is granted to use and modify this code for commercial and
00013 //  non-commercial purposes so long as the author attribution and copyright
00014 //  messages remain intact and accompany all relevant code.
00015 //
00017 
00018 #ifndef __SNDKIT_SNDAUDIOPROCESSORINSPECTOR_H
00019 #define __SNDKIT_SNDAUDIOPROCESSORINSPECTOR_H
00020  
00021 #import <Foundation/Foundation.h>
00022 #import <AppKit/AppKit.h>
00023 
00024 // since GNUstep appkit.h seems to leave this out...
00025 #import <AppKit/NSDocumentController.h>
00026 
00027 #import "SndAudioProcessor.h"
00028 #import "SndStreamArchitectureView.h"
00029 
00031 
00042 #if !defined(MAC_OS_X_VERSION_10_6) || (MAC_OS_X_VERSION_MAX_ALLOWED < MAC_OS_X_VERSION_10_6)
00043 @interface SndAudioProcessorInspector : NSObject {
00044 #else
00045 @interface SndAudioProcessorInspector : NSObject <NSTableViewDataSource> {
00046 #endif
00047     
00048   IBOutlet NSTableView *parameterTableView;
00049   IBOutlet NSSlider *parameterValueSilder;
00051   IBOutlet NSButton *processorActive;
00052   IBOutlet NSTextField *processorName;
00053   IBOutlet SndStreamArchitectureView *sndArchView;
00055   SndAudioProcessor *theAudProc;
00056 
00057   IBOutlet NSButton *addFxButton;
00058   IBOutlet NSButton *delFxButton;
00059   IBOutlet NSComboBox *fxChooser;
00060   IBOutlet NSPanel *window;
00061 }
00062 
00068 + defaultAudioProcessorInspector;
00069 
00076 - initWithAudioProcessor: (SndAudioProcessor*) anAudProc;
00077 
00084 - setAudioProcessor: (SndAudioProcessor*) anAudProc;
00085 
00092 - onProcessorActive: (id) sender;
00093 
00100 - onParameterValueSlider: (id) sender;
00101 
00108 - parameterTableAction: (id) sender;
00109     
00118 - onAddFxButton: (id) sender;
00119 
00129 - onDelFxButton: (id) sender;
00130 
00131 @end
00132 
00134 
00135 #endif