Hey, I committed the beginnings of a UTI framework to /branches/ericwa/ ETUTI. :)
Currently it loads a property list of UTI descriptions, and you can ask for an ETUTI object by providing a UTI name, file extension, or MIME type. With the object you can query its supertypes, and ask if it conforms to another type. I extracted the property list from the table at http://developer.apple.com/documentation/Carbon/Conceptual/understanding_utis/utilist/chapter_4_section_1.html for testing purposes. I'm not sure how much of it we can use without violating copyright, but I assume the basic type hierarchy can be used, and we can throw out a lot of the very rare/proprietary stuff and rewrite the extension/mime type bindings. -Eric _______________________________________________ Etoile-dev mailing list [email protected] https://mail.gna.org/listinfo/etoile-dev
