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

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

View file

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