mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-31 00:30:53 +00:00
NSFileVersion additional methods.
This commit is contained in:
parent
1d04d0c9e9
commit
0644317ab4
4 changed files with 111 additions and 10 deletions
|
@ -152,7 +152,10 @@ static NSMutableDictionary *__presenterMap = nil;
|
|||
if(options == 0L)
|
||||
{
|
||||
id<NSFilePresenter> p = [__presenterMap objectForKey: url];
|
||||
[p savePresentedItemChangesWithCompletionHandler:NULL];
|
||||
if([p respondsToSelector: @selector(savePresentedItemChangesWithCompletionHandler:)])
|
||||
{
|
||||
[p savePresentedItemChangesWithCompletionHandler:NULL];
|
||||
}
|
||||
}
|
||||
CALL_BLOCK(reader, url);
|
||||
}
|
||||
|
@ -165,7 +168,10 @@ static NSMutableDictionary *__presenterMap = nil;
|
|||
if(options == 0L)
|
||||
{
|
||||
id<NSFilePresenter> p = [__presenterMap objectForKey: url];
|
||||
[p savePresentedItemChangesWithCompletionHandler:NULL];
|
||||
if([p respondsToSelector: @selector(savePresentedItemChangesWithCompletionHandler:)])
|
||||
{
|
||||
[p savePresentedItemChangesWithCompletionHandler:NULL];
|
||||
}
|
||||
}
|
||||
CALL_BLOCK(writer, url);
|
||||
}
|
||||
|
@ -179,15 +185,15 @@ static NSMutableDictionary *__presenterMap = nil;
|
|||
{
|
||||
}
|
||||
|
||||
- (void)itemAtURL:(NSURL *)oldURL didMoveToURL: (NSURL *)newURL
|
||||
- (void)itemAtURL: (NSURL *)oldURL didMoveToURL: (NSURL *)newURL
|
||||
{
|
||||
}
|
||||
|
||||
- (void)itemAtURL:(NSURL *)oldURL willMoveToURL: (NSURL *)newURL
|
||||
- (void)itemAtURL: (NSURL *)oldURL willMoveToURL: (NSURL *)newURL
|
||||
{
|
||||
}
|
||||
|
||||
- (void)itemAtURL:(NSURL *)url didChangeUbiquityAttributes: (NSSet *)attributes
|
||||
- (void)itemAtURL: (NSURL *)url didChangeUbiquityAttributes: (NSSet *)attributes
|
||||
{
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue