mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +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];
|
NSFileAccessIntent *result = [[self alloc] init];
|
||||||
ASSIGNCOPY(result->_url, url);
|
ASSIGNCOPY(result->_url, url);
|
||||||
result->_options = options;
|
result->_options = options;
|
||||||
return nil;
|
result->_isRead = YES;
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
+ (instancetype) writingIntentWithURL: (NSURL *)url
|
+ (instancetype) writingIntentWithURL: (NSURL *)url
|
||||||
options: (NSFileCoordinatorWritingOptions)options
|
options: (NSFileCoordinatorWritingOptions)options
|
||||||
{
|
{
|
||||||
return nil;
|
NSFileAccessIntent *result = [[self alloc] init];
|
||||||
|
ASSIGNCOPY(result->_url, url);
|
||||||
|
result->_options = options;
|
||||||
|
result->_isRead = NO;
|
||||||
|
return result;
|
||||||
}
|
}
|
||||||
|
|
||||||
- (NSURL *) URL
|
- (NSURL *) URL
|
||||||
{
|
{
|
||||||
return nil;
|
return _url;
|
||||||
}
|
}
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue