-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathIIAssistantController.h
69 lines (50 loc) · 1.53 KB
/
IIAssistantController.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
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
//
// IIAssistantController.h
// iTunesImport
//
// Created by Alexander Strange on 1/25/08.
//
#import <Cocoa/Cocoa.h>
#import <ImageKit/ImageKit.h>
#import <ScriptingBridge/ScriptingBridge.h>
#import "IIAlbum.h"
@interface IIAssistantController : NSObject <SBApplicationDelegate> {
IBOutlet NSWindow *assistantWindow;
IBOutlet NSTabView *assistantTabView;
IBOutlet NSButton *nextButton;
IBOutlet NSTextField *chooseAlbumField;
IBOutlet NSTextField *albumTypeLabel;
IBOutlet NSProgressIndicator *progressIndicator;
// --
IBOutlet NSTextField *albumArtistField;
IBOutlet NSTextField *albumTitleField;
IBOutlet NSTextField *albumComposerField;
IBOutlet NSTextField *albumYearField;
IBOutlet NSTextField *albumGenreField;
IBOutlet NSTableView *albumTrackTable;
NSThread *parsingThread;
IIAlbum *album;
AlbumTags *albumTags;
// --
IBOutlet IKImageBrowserView *imageChoiceView;
IBOutlet NSImageView *curImageView;
NSMutableArray *imageNameArray;
NSMutableArray *imageArray;
NSThread *imagesThread;
// --
IBOutlet NSTextView *consoleView;
// --
NSThread *iTunesImportThread;
}
- (IBAction)advance:(id)sender;
- (IBAction)chooseAlbum:(id)sender;
- (void)chooseAlbumPanelDidEnd:(NSOpenPanel *)panel returnCode:(int)returnCode contextInfo:(void*)contextInfo;
- (IBAction)albumChosen:(id)sender;
- (void)validateAlbumThread;
- (void)setAlbumFields;
- (void)gatherAlbumTags;
- (void)loadAlbumImages;
- (void)loadAlbumImagesThread;
- (void)importIntoiTunes;
- (void)iTunesImportThread;
@end