-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathFLScanner.h
44 lines (31 loc) · 940 Bytes
/
FLScanner.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
/* Copyright (C) 1996 Dave Vasilevsky
* This file is licensed under the GNU General Public License,
* see the file Copying.txt for details. */
#import "FLFile.h"
@interface FLScanner : NSObject {
NSString *m_path;
NSProgressIndicator *m_pi;
NSTextField *m_display;
FLDirectory *m_tree;
NSString *m_error;
double m_increment;
double m_progress;
NSString *m_last_path;
uint32_t m_files;
uint32_t m_seen;
SEL m_post_sel;
id m_post_obj;
NSLock *m_lock;
BOOL m_cancelled;
}
- (id) initWithPath: (NSString *) path
progress: (NSProgressIndicator *) progress
display: (NSTextField *) display;
- (void) scanThenPerform: (SEL) selector on: (id) obj;
- (void) cancel;
- (BOOL) isCancelled;
- (FLDirectory *) scanResult;
- (NSString *) scanError;
+ (BOOL) isMountPoint: (NSString *) path;
+ (BOOL) isMountPointCPath: (const char *) cpath;
@end