-
Notifications
You must be signed in to change notification settings - Fork 1
/
AudIntAppDelegate.h
51 lines (41 loc) · 1.3 KB
/
AudIntAppDelegate.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
//
// AudIntAppDelegate.h
// AudInt
//
// Created by Justin Blinder on 5/3/11.
// Copyright 2011 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@interface AudIntAppDelegate : NSObject <NSApplicationDelegate>
{
NSWindow *window;
//encode interface eleemnts
IBOutlet NSButton *encodeButton;
IBOutlet NSButton *importTrack;
IBOutlet NSButton *encodeSaveTo;
IBOutlet NSButton *replaceEncodedSong;
IBOutlet NSTextField *encodeSaveToTitle;
IBOutlet NSTextField *encodeImportTrack;
IBOutlet NSTextField *encodeImportDiscrete;
IBOutlet NSButton *decodeSaveTo;
IBOutlet NSButton *replaceDecodedSong;
IBOutlet NSTextField *decodeSaveToTitle;
IBOutlet NSTextField *decodedImportTrack;
IBOutlet NSTextField *rawOutput;
IBOutlet NSProgressIndicator *conversionProgress;
//decode interface elements
NSMutableDictionary *filePaths;
NSString *encodeImportTrackURL;
NSString *encodeImportDiscreteURL;
NSString *decodeImportTrackURL;
}
@property (assign) IBOutlet NSWindow *window;
-(void)disableInterfaceElements;
-(void)enableInterfaceElements;
-(void)cleanUp;
-(void)promptAlert:(NSString *)mainText altMessage:(NSString *)altText;
-(IBAction)encodeAudioFile:(id)sender;
-(IBAction)openFile:(id)sender;
-(IBAction)openDir:(id)sender;
-(IBAction)manageInterface:(id)sender;
@end