Mercurial > hg > audiodb
comparison examples/iAudioDB/AppController.h @ 685:e78e5a80b73d
* Extraction params supplied at db creation time
* n3 configs are customized at extraction time
* Changes to import UI
* Extraction params stored in db plist
author | mas01mj |
---|---|
date | Thu, 11 Mar 2010 11:50:39 +0000 |
parents | fed70cb84a92 |
children | e2f4924130ef |
comparison
equal
deleted
inserted
replaced
684:fed70cb84a92 | 685:e78e5a80b73d |
---|---|
31 IBOutlet NSButton* stopButton; | 31 IBOutlet NSButton* stopButton; |
32 IBOutlet NSButton* chooseButton; | 32 IBOutlet NSButton* chooseButton; |
33 | 33 |
34 NSMutableArray* results; | 34 NSMutableArray* results; |
35 NSDictionary* trackMap; | 35 NSDictionary* trackMap; |
36 NSDictionary* dbState; | |
37 | |
38 // Creating | |
39 IBOutlet id createSheet; | |
40 IBOutlet NSMatrix* extractorOptions; | |
41 IBOutlet NSTextField* windowSizeField; | |
42 IBOutlet NSTextField* hopSizeField; | |
43 IBOutlet NSTextField* maxTracksField; | |
44 IBOutlet NSTextField* maxLengthField; | |
36 | 45 |
37 // Extracting | 46 // Extracting |
38 IBOutlet id importSheet; | 47 IBOutlet id importSheet; |
39 IBOutlet NSBox* extractingBox; | |
40 IBOutlet NSMatrix* extractorOptions; | |
41 IBOutlet NSProgressIndicator* indicator; | 48 IBOutlet NSProgressIndicator* indicator; |
42 | 49 |
43 // Playback | 50 // Playback |
44 NSSound* queryTrack; | 51 NSSound* queryTrack; |
45 NSSound* resultTrack; | 52 NSSound* resultTrack; |
53 | |
54 | |
46 | 55 |
47 // Query param fields | 56 // Query param fields |
48 | 57 |
49 /* To Come | 58 /* To Come |
50 IBOutlet id queryType; | 59 IBOutlet id queryType; |
51 IBOutlet NSTextField* queryStartField; | 60 IBOutlet NSTextField* queryStartField; |
52 IBOutlet id queryTypeOptions; | 61 IBOutlet id queryTypeOptions; |
53 IBOutlet NSTextField* queryLengthField; | 62 IBOutlet NSTextField* queryLengthField; |
54 IBOutlet NSTextField* queryRadiusField; | 63 IBOutlet NSTextField* queryRadiusField; |
55 IBOutlet NSButtonCell* exhaustiveField;*/ | 64 IBOutlet NSButtonCell* exhaustiveField;*/ |
56 | |
57 } | 65 } |
58 | 66 |
59 // Menus | 67 // Menus |
60 -(IBAction)newDatabase:(id)sender; | 68 -(IBAction)newDatabase:(id)sender; |
61 -(IBAction)openDatabase:(id)sender; | 69 -(IBAction)openDatabase:(id)sender; |
62 -(IBAction)selectFiles:(id)sender; | |
63 | 70 |
64 // Import | 71 // Import |
65 -(IBAction)importAudio:(id)sender; | 72 -(IBAction)importAudio:(id)sender; |
66 -(IBAction)cancelImport:(id)sender; | 73 // -(IBAction)cancelImport:(id)sender; |
74 | |
75 // Create | |
76 | |
77 -(IBAction)cancelCreate:(id)sender; | |
78 -(IBAction)createDatabase:(id)sender; | |
67 | 79 |
68 // Buttons | 80 // Buttons |
69 -(IBAction)playBoth:(id)sender; | 81 -(IBAction)playBoth:(id)sender; |
70 -(IBAction)playResult:(id)sender; | 82 -(IBAction)playResult:(id)sender; |
71 -(IBAction)stopPlay:(id)sender; | 83 -(IBAction)stopPlay:(id)sender; |