-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathXeeFileSource.h
57 lines (42 loc) · 1.13 KB
/
XeeFileSource.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
#import "XeeListSource.h"
#import "XeeFSRef.h"
@class XeeFileEntry;
@interface XeeFileSource:XeeListSource
{
}
-(id)init;
-(void)dealloc;
-(uint64_t)sizeOfCurrentImage;
-(NSDate *)dateOfCurrentImage;
-(BOOL)isCurrentImageRemote;
-(BOOL)isCurrentImageAtPath:(NSString *)path;
-(void)setSortOrder:(int)order;
-(void)runSorter;
-(void)sortFiles;
-(NSError *)renameCurrentImageTo:(NSString *)newname;
-(NSError *)deleteCurrentImage;
-(NSError *)copyCurrentImageTo:(NSString *)destination;
-(NSError *)moveCurrentImageTo:(NSString *)destination;
-(NSError *)openCurrentImageInApp:(NSString *)app;
-(void)playSound:(NSString *)filename;
-(void)actuallyPlaySound:(NSString *)filename;
@end
@interface XeeFileEntry:XeeListEntry
{
UniChar *pathbuf;
int pathlen;
}
-(id)init;
-(void)dealloc;
-(XeeImage *)produceImage;
-(XeeFSRef *)ref;
-(NSString *)path;
-(NSString *)filename;
-(uint64_t)size;
-(double)time;
-(void)prepareForSortingBy:(int)sortorder;
-(void)finishSorting;
-(NSComparisonResult)comparePaths:(XeeFileEntry *)other;
-(NSComparisonResult)compareSizes:(XeeFileEntry *)other;
-(NSComparisonResult)compareTimes:(XeeFileEntry *)other;
@end