Re: MDImporters Help
Re: MDImporters Help
- Subject: Re: MDImporters Help
- From: "Finlay Dobbie" <email@hidden>
- Date: Wed, 21 Feb 2007 10:53:27 +0000
On 21/02/07, Orr Philip <email@hidden> wrote:
Hi again.
I have managed to get the list of MDImporters using the NSTask
funstion and calling the mdimport with the switches but this is
relying on another function. Is it possible to to this via COCOA
directly.
No. There is no public API for doing this. If you have a reason for
needing to do this, you should probably file a bug report at
<http://bugreport.apple.com>
Also is it possible to get a list of what extensions each
importer is responsible for?
You could, I suppose, examine the bundles reported by mdimport -L and
what they declare in their Info.plist; however I'm not sure what would
happen in the case of two bundles declaring the same UTI.
-- Finlay
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden