Re: Plugins (was Re: CoreFoundation question)
Re: Plugins (was Re: CoreFoundation question)
- Subject: Re: Plugins (was Re: CoreFoundation question)
- From: Douglas Davidson <email@hidden>
- Date: Thu, 30 Aug 2001 10:12:30 -0700
On Tuesday, August 28, 2001, at 09:26 PM, marquis logan wrote:
something i'm trying, which appears to be working cleanly is just
dumping all the plug-ins in a known location.
/some/where/myplugins
That is certainly one good solution. Another thing that you may find
useful is the use of some of the document binding machinery
(type/creator/extension) to distinguish between different types of
plugins, and possibly also to describe the mapping between plugins and
applications. If you give a particular class of plugins a distinct
type, or a more specific extension than the generic ".plugin", or both,
then you can look for certain types of plugins in a specific location or
set of locations. Actually, CFBundleCreateBundlesFromDirectory has
direct support for specifying a particular extension.
Douglas Davidson