mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 00:11:26 +00:00
Implement NSFileAccessIntent
This commit is contained in:
parent
a4ca934e6d
commit
f355d97b3e
1 changed files with 8 additions and 3 deletions
|
@ -46,18 +46,23 @@
|
|||
NSFileAccessIntent *result = [[self alloc] init];
|
||||
ASSIGNCOPY(result->_url, url);
|
||||
result->_options = options;
|
||||
return nil;
|
||||
result->_isRead = YES;
|
||||
return result;
|
||||
}
|
||||
|
||||
+ (instancetype) writingIntentWithURL: (NSURL *)url
|
||||
options: (NSFileCoordinatorWritingOptions)options
|
||||
{
|
||||
return nil;
|
||||
NSFileAccessIntent *result = [[self alloc] init];
|
||||
ASSIGNCOPY(result->_url, url);
|
||||
result->_options = options;
|
||||
result->_isRead = NO;
|
||||
return result;
|
||||
}
|
||||
|
||||
- (NSURL *) URL
|
||||
{
|
||||
return nil;
|
||||
return _url;
|
||||
}
|
||||
@end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue