class os_DLL_finder { public:Functions in this class are used to create a DLL identifier prefix. Create a subclass of this class to implement a new kind of DLL identifier. A prefix before a colon in a DLL identifier string maps to a DLL finder subclass.
void register_(const char* prefix);Register this as the finder for DLL identifiers with the given prefix.
Unregisters a DLL finder sto that it is no longer the finder for DLL identifiers with the given prefix.
static os_DLL_finder* get(const char* DLL_identifier);Gets the finder for the specified DLL_identifier's prefix or returns null if none is registered.
static os_boolean equal_DLL_identifiers( const char* id1, const char* id2 );Compares two DLL identifier strings and returns true if the identifier strings are eqivalent.
virtual os_DLL_handle load_DLL( const char* DLL_identifier, os_boolean error_if_not_found) = 0;Each subclass of os_DLL_finder must provide an implementation of load_DLL() that interprets the suffix part of the DLL identifier and calls the appropriate operating system API (or calls another os_DLL_finder) to load the DLL.
virtual os_boolean equal_DLL_identifiers_same_prefix( const char* id1, const char* id2) = 0;Each subclass of os_DLL_finder must provide an implementation of equal_DLL_identifiers_same_prefix that compares two DLL identifiers that are both implemented by this finder and returns true if they are equal.
Updated: 03/31/98 17:25:09