diff options
| author | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-06-06 16:25:30 +0000 |
|---|---|---|
| committer | SND\MaddTheSane_cp <SND\MaddTheSane_cp@e17a0e51-4ae3-4d35-97c3-1a29b211df97> | 2014-06-06 16:25:30 +0000 |
| commit | 99d48611d9604491cc2e95380a2b13e00db4d4b5 (patch) | |
| tree | ac5ac337cce20302a0226742ec565bc2787c4ee2 /macosx/Psx-Memcard/GetMetadataForFile.m | |
| parent | b8990e60c03f545bac3ada06e4034a5508faf337 (diff) | |
| download | pcsxr-99d48611d9604491cc2e95380a2b13e00db4d4b5.tar.gz | |
OS X: Begin working on a metadata importer for the memory cards.
git-svn-id: https://pcsxr.svn.codeplex.com/svn/pcsxr@90602 e17a0e51-4ae3-4d35-97c3-1a29b211df97
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; +} |
