diff options
Diffstat (limited to 'macosx/Psx-Memcard/GetMetadataForFile.m')
| -rw-r--r-- | macosx/Psx-Memcard/GetMetadataForFile.m | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/macosx/Psx-Memcard/GetMetadataForFile.m b/macosx/Psx-Memcard/GetMetadataForFile.m new file mode 100644 index 00000000..731cd928 --- /dev/null +++ b/macosx/Psx-Memcard/GetMetadataForFile.m @@ -0,0 +1,34 @@ +// +// GetMetadataForFile.m +// Psx-Memcard +// +// Created by C.W. Betts on 6/6/14. +// +// + +#include <CoreFoundation/CoreFoundation.h> +#import <Foundation/Foundation.h> +#include "GetMetadataForFile.h" + +//============================================================================== +// +// Get metadata attributes from document files +// +// The purpose of this function is to extract useful information from the +// file formats for your document, and set the values into the attribute +// dictionary for Spotlight to include. +// +//============================================================================== + +Boolean GetMetadataForFile(void *thisInterface, CFMutableDictionaryRef attributes, CFStringRef contentTypeUTI, CFStringRef pathToFile) +{ + Boolean ok = FALSE; + @autoreleasepool { + NSMutableDictionary *attr = (__bridge NSMutableDictionary*)attributes; + NSString *path = (__bridge NSString*)pathToFile; + + } + + // Return the status + return ok; +} |
