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/schema.xml | |
| 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/schema.xml')
| -rw-r--r-- | macosx/Psx-Memcard/schema.xml | 60 |
1 files changed, 60 insertions, 0 deletions
diff --git a/macosx/Psx-Memcard/schema.xml b/macosx/Psx-Memcard/schema.xml new file mode 100644 index 00000000..4e072263 --- /dev/null +++ b/macosx/Psx-Memcard/schema.xml @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8"?> + +<schema version="1.0" xmlns="http://www.apple.com/metadata" + xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" + xsi:schemaLocation="http://www.apple.com/metadata file:///System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Resources/MetadataSchema.xsd"> + <!-- + The 'attributes' section defines custom attributes that this metadata importer supports. + Below is an example of a multivalued string attribute. Uncomment this part + of the file if you need to define a custom attribute. + + 'multivalued' indicates whether the attribute is an array type or not. + + 'type' indicates the data type of the attribute. + Available types are CFString, CFNumber, CFDate, CFBoolean and CFData. + + If you don't need to define a custom attribute, it is safe to remove this section. + + <attributes> + <attribute name="com_Foo_YourAttrName" multivalued="true" type="CFString"/> + </attributes> + + + To see the system's definitions for the builtin attributes and file types, look at the system schema, + /System/Library/Frameworks/CoreServices.framework/Frameworks/Metadata.framework/Resources/schema.xml + --> + + <attributes> + <!-- + <attribute name="net_sourceforge_playerpro_tracker_instumentlist" multivalued="true" type="CFString"/> + <attribute name="net_sourceforge_playerpro_tracker_patternlist" multivalued="true" type="CFString"/> + <attribute name="net_sourceforge_playerpro_tracker_totalpatterns" multivalued="false" nosearch="true" type="CFNumber"/> + <attribute name="net_sourceforge_playerpro_tracker_partitionlength" multivalued="false" nosearch="true" type="CFNumber"/> + <attribute name="net_sourceforge_playerpro_tracker_totalinstruments" multivalued="false" nosearch="true" type="CFNumber"/> + <attribute name="net_sourceforge_playerpro_tracker_totaltracks" multivalued="false" nosearch="true" type="CFNumber"/> + <attribute name="net_sourceforge_playerpro_tracker_formatdescription" multivalued="false" nosearch="true" type="CFString"/> + <attribute name="net_sourceforge_playerpro_tracker_madkinfo" multivalued="false" type="CFString" /> + --> + </attributes> + + <types> + <type name="com.codeplex.pcsxr.memcard"> <!-- add one <type>...</type> entry for each UTI that you need to define.--> + + <!-- 'allattrs' is a whitespace separated list of all of the attributes that this UTI type normally has. + It does not have to be exhaustive. --> + <allattrs> + kMDItemTitle + kMDItemDurationSeconds + kMDItemCodecs + </allattrs> + <!-- 'displayattrs' is a whitespace separated list of the attributes that should normally be displayed when previewing files of this UTI type. --> + <displayattrs> + kMDItemTitle + kMDItemDurationSeconds + kMDItemCodecs + </displayattrs> + </type> + + </types> +</schema> + |
