CFPlugInDynamicRegisterFunction
A callback which provides a plug-in the opportunity to dynamically register its types with a host.
Declaration
typealias CFPlugInDynamicRegisterFunction = (CFPlugIn?) -> VoidParameters
- plugIn:
The
CFPlugInobject that is engaged in dynamic registration. When using in C++, this parameter functions as athispointer for the plug-in.
Discussion
This callback is called as a plug-in is being loaded. This provides the plugin the means to dynamically register its types and factories with a plug-in’s host. The call is triggered by the presence of kCFPlugInDynamicRegistrationKey in the plug-in’s information property list.