Dummy implementation of NSHFSFileTypes

This commit is contained in:
Gregory John Casamento 2019-11-01 21:17:36 -04:00
parent 3b5016e54f
commit 1fe061b1dc
2 changed files with 19 additions and 4 deletions

View file

@ -32,10 +32,14 @@
#if defined(__cplusplus)
extern "C" {
#endif
@class NSString;
@interface NSHFSFileTypes : NSObject
GS_EXPORT NSString *NSFileTypeForHFSTypeCode(NSUInteger hfsFileTypeCode);
@end
GS_EXPORT NSUInteger NSHFSTypeCodeFromFileType(NSString *fileTypeString);
GS_EXPORT NSString *NSHFSTypeOfFile(NSString *fullFilePath);
#if defined(__cplusplus)
}

View file

@ -24,7 +24,18 @@
#include <Foundation/NSHFSFileTypes.h>
@implementation NSHFSFileTypes
NSString *NSFileTypeForHFSTypeCode(NSUInteger hfsFileTypeCode)
{
return @"";
}
@end
NSUInteger NSHFSTypeCodeFromFileType(NSString *fileTypeString)
{
return 0;
}
NSString *NSHFSTypeOfFile(NSString *fullFilePath)
{
return @"";
}