-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathTLImportController.h
51 lines (37 loc) · 1.22 KB
/
TLImportController.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
//
// TLImportController.h
// Mercatalog
//
// Created by Nathan Vander Wilt on 12/16/08.
// Copyright 2008 __MyCompanyName__. All rights reserved.
//
#import <Cocoa/Cocoa.h>
@class TLMercatalogLibrary;
@interface TLImportController : NSObject {
IBOutlet NSWindow* importSheet;
IBOutlet NSTextField* importProgressText;
IBOutlet NSProgressIndicator* importProgressBar;
IBOutlet NSTextField* importCurrentText;
@private
id delegate;
TLMercatalogLibrary* library;
NSArray* filenames;
BOOL shouldCancel;
BOOL copyOriginals;
}
@property (nonatomic, readonly) id delegate;
@property (nonatomic, readonly) TLMercatalogLibrary* library;
@property (nonatomic, readonly) NSArray* filenames;
- (id)initWithFilenames:(NSArray*)theFilenames
library:(TLMercatalogLibrary*)theLibrary
delegate:(id)theDelegate;
- (IBAction)startImport:(id)sender;
- (IBAction)cancelImport:(id)sender;
@end
@interface NSObject (TLImportControllerDelegate)
- (void)importControllerDidBegin:(TLImportController*)importController;
- (void)importControllerDidImport:(TLImportController*)importController
photos:(NSArray*)photos
tracks:(NSArray*)tracks;
- (void)importControllerDidCancel:(TLImportController*)importController;
@end