mirror of
https://github.com/gnustep/libs-base.git
synced 2025-04-23 00:41:02 +00:00
Get initial skeleton to compile
This commit is contained in:
parent
30dc7ca832
commit
fe3968a9a1
2 changed files with 20 additions and 0 deletions
|
@ -352,6 +352,9 @@ typedef NSUInteger NSDirectoryEnumerationOptions;
|
|||
create: (BOOL)shouldCreate
|
||||
error: (NSError **)error;
|
||||
|
||||
/**
|
||||
* Enumerate over the contents of a directory.
|
||||
*/
|
||||
DEFINE_BLOCK_TYPE(GSDirEnumErrorHandler, BOOL, NSURL*, NSError*);
|
||||
- (NSDirectoryEnumerator *)enumeratorAtURL: (NSURL *)url
|
||||
includingPropertiesForKeys: (NSArray *)keys
|
||||
|
|
|
@ -773,6 +773,23 @@ static NSStringEncoding defaultEncoding;
|
|||
return result;
|
||||
}
|
||||
|
||||
- (NSURL *)URLForDirectory: (NSSearchPathDirectory)directory
|
||||
inDomain: (NSSearchPathDomainMask)domain
|
||||
appropriateForURL: (NSURL *)url
|
||||
create: (BOOL)shouldCreate
|
||||
error: (NSError **)error
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSDirectoryEnumerator *)enumeratorAtURL: (NSURL *)url
|
||||
includingPropertiesForKeys: (NSArray *)keys
|
||||
options: (NSDirectoryEnumerationOptions)mask
|
||||
errorHandler: (GSDirEnumErrorHandler)handler
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSArray*) contentsOfDirectoryAtPath: (NSString*)path error: (NSError**)error
|
||||
{
|
||||
NSArray *result;
|
||||
|
|
Loading…
Reference in a new issue