mirror of
https://github.com/gnustep/libs-base.git
synced 2025-05-30 16:30:41 +00:00
Make it compile cleanly
This commit is contained in:
parent
39d747f7e4
commit
2d565bb30a
2 changed files with 86 additions and 5 deletions
|
@ -1,4 +1,80 @@
|
|||
#include <Foundation/NSFileVersion.h>
|
||||
|
||||
@implementation NSFileVersion
|
||||
|
||||
- (BOOL) isDiscardable
|
||||
{
|
||||
return _isDiscardable;
|
||||
}
|
||||
- (void) setDiscardable: (BOOL)flag
|
||||
{
|
||||
_isDiscardable = flag;
|
||||
}
|
||||
|
||||
- (BOOL) isResolved
|
||||
{
|
||||
return _isResolved;
|
||||
}
|
||||
|
||||
- (void) setResolved: (BOOL)flag
|
||||
{
|
||||
_isResolved = flag;
|
||||
}
|
||||
|
||||
- (NSDate *) modificationDate
|
||||
{
|
||||
return _modificationDate;
|
||||
}
|
||||
|
||||
- (NSPersonNameComponents *) originatorNameComponents
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (NSString *) localizedName
|
||||
{
|
||||
return _localizedName;
|
||||
}
|
||||
|
||||
- (NSString *) localizedNameOfSavingComputer
|
||||
{
|
||||
return _localizedNameOfSavingComputer;
|
||||
}
|
||||
|
||||
- (BOOL) hasLocalContents
|
||||
{
|
||||
return _hasLocalContents;
|
||||
}
|
||||
|
||||
- (BOOL) hasThumbnail
|
||||
{
|
||||
return _hasThumbnail;
|
||||
}
|
||||
|
||||
- (NSURL *) URL
|
||||
{
|
||||
return _fileURL;
|
||||
}
|
||||
|
||||
- (BOOL) conflict
|
||||
{
|
||||
return _conflict;
|
||||
}
|
||||
|
||||
- (id<NSCoding>) persistentIdentifier
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
- (BOOL) removeAndReturnError: (NSError **)outError
|
||||
{
|
||||
outError = NULL;
|
||||
return NO;
|
||||
}
|
||||
|
||||
- (NSURL *) replaceItemAtURL: (NSURL *)url options:(NSFileVersionReplacingOptions)options error:(NSError **)error
|
||||
{
|
||||
return nil;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue