#import #import #import #import #import #import static NSString *NSTypesKey = @"NSTypes"; static NSString *NSNameKey = @"NSName"; static NSString *NSRoleKey = @"NSRole"; static NSString *NSHumanReadableNameKey = @"NSHumanReadableName"; static NSString *NSUnixExtensionsKey = @"NSUnixExtensions"; static NSString *NSDOSExtensionsKey = @"NSDOSExtensions"; static NSString *NSMacOSTypesKey = @"NSMacOSTypes"; static NSString *NSMIMETypesKey = @"NSMIMETypes"; static NSString *NSDocumentClassKey = @"NSDocumentClass"; #define TYPE_INFO(name) TypeInfoForName(_types, name) static NSDictionary *TypeInfoForName(NSArray *types, NSString *typeName) { int i, count = [types count]; for (i=0; i