Permalink
Newer
Older
100644 26 lines (19 sloc) 622 Bytes
Oct 5, 2010
1
//
2
// DirectoryReader.h
3
// LineReader
4
//
5
// Created by Tobias Preuss on 05.10.10.
6
// Copyright 2010 Tobias Preuss. All rights reserved.
7
//
8
9
10
11
@interface DirectoryReader : NSObject {
12
13
NSString* m_path; /**< File path. */
Oct 5, 2010
14
}
15
16
- (id)initWithPath:(NSString*)path;
Oct 5, 2010
17
- (BOOL)readDirectory:(NSArray**)files;
18
19
/**
20
Returns array of string paths for each file in the directory, sorted by file modification date, descending
21
@param files output parameter containing the file paths
22
@returns BOOL indicating whether the directory file list could be read
23
*/
24
- (BOOL)readDirectoryByFileModificationDateDesc:(NSArray**)files;
Oct 5, 2010
25
@end