![]() | InDesign SDK 20.5 |
#include <ILinkResourceFactory.h>

Public Types | |
| enum | { kDefaultIID = IID_ILINKRESOURCEFACTORY } |
Public Member Functions | |
| virtual void | GetSchemes (K2Vector< WideString > &schemes) const =0 |
| virtual ILinkResourceHandler * | QueryHandler (const URI &uri, IDataBase *db) const =0 |
| virtual ILinkResourceStateUpdater * | QueryStateUpdater (const URI &uri, IDataBase *db) const =0 |
Public Member Functions inherited from IPMUnknown | |
| virtual IPMUnknown * | QueryInterface (PMIID interfaceID) const =0 |
| virtual void | AddRef () const =0 |
| virtual void | Release () const =0 |
This factory class is used to provide a list of schemes supported by a link resource handler, and to create instances of a link resource handler. \ Include this interface on the link resource provider boss that is registered with the service registry as a kLinkResourceService.
| pure virtual |
Gets the list of URI schemes supported by the handler.
| schemes | [OUT] List of supported schemes. |
Implemented in CusDtLnkLinkResourceFactory.
| pure virtual |
Returns the link resource handler that will be used by a link resource object to act on an resource whose URI scheme matches one of the supported schemes.
| uri | [IN] URI of the link resource the handler will be used for. |
| db | [IN] Database that contains the link resource. |
Implemented in CusDtLnkLinkResourceFactory.
| pure virtual |
Returns the link resource state updater that will be used to obtain and update the state of a link resource whose URI scheme matches one of the supported schemes.
| uri | [IN] URI of the link resource whose state will be updated. |
| db | [IN] Database that contains the link resource. |
Implemented in CusDtLnkLinkResourceFactory.