Selector support
This page applies to Harlequin v13.1r0 and later; and to Harlequin MultiRIP but not Harlequin Core
If new selectors are added to the interface, the RIP can first test whether they are supported, using the selector D_SELECTOR_SUPPORT
. The RIP passes a pointer to a value representing the selector it wishes to check for. (Remember that selectors are defined by an enumeration in the header file gplugin.h
.)
If the return value from this call indicates that the named selector is not supported, the RIP can turn to using other, ‘earlier' selectors. New selectors are always incorporated into the plugin interface by adding them to the existing selector enumeration in the header file gplugin.h
. Older selectors remain.
Note:
Along with D_SECURITY
, support for D_SELECTOR_SUPPORT
is mandatory.
See D_SECURITY or D_SECURITY for more details.