InDesign SDK  20.5
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
CusDtLnkLinkResourceFactory Class Reference
Inheritance diagram for CusDtLnkLinkResourceFactory:
CPMUnknown< ILinkResourceFactory >ILinkResourceFactoryIPMUnknown

Public Types

typedef CPMUnknown
< ILinkResourceFactory
inherited
 
typedef object_type data_type
 

Public Member Functions

 CusDtLnkLinkResourceFactory (IPMUnknown *boss)
 
virtual ~CusDtLnkLinkResourceFactory ()
 
virtual void GetSchemes (K2Vector< WideString > &schemes) const
 
virtual ILinkResourceHandlerQueryHandler (const URI &uri, IDataBase *db) const
 
virtual ILinkResourceStateUpdaterQueryStateUpdater (const URI &uri, IDataBase *db) const
 
- Public Member Functions inherited from CPMUnknown< ILinkResourceFactory >
IPMUnknownQueryInterface (PMIID interfaceID) const
 
void AddRef () const
 
void Release () const
 
void PreDirty (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
void PreDirtyNoMessage (ImplementationID prop=kInvalidImpl, bool16 allowModification=kTrue)
 
 CPMUnknown (const CPMUnknown &)=delete
 
CPMUnknownoperator= (const CPMUnknown &)=delete
 

Additional Inherited Members

- Protected Member Functions inherited from CPMUnknown< ILinkResourceFactory >
 CPMUnknown (IPMUnknown *boss)
 
- Protected Attributes inherited from CPMUnknown< ILinkResourceFactory >
HelperInterface fHelperInterface
 

Detailed Description

Implementation of ILinkResourceFactory to instantiate couple link resource related classes, ILinkResourceHandler and ILinkResourceStateUpdater, both are aggregated on kCusDtLnkLinkResourceHandlerBoss, and they are to handle link resource who has the URI scheme of 'CSVLink'

Constructor & Destructor Documentation

CusDtLnkLinkResourceFactory::CusDtLnkLinkResourceFactory (IPMUnknownboss)

Constructor.

Parameters
bossIN interface ptr from boss object on which this interface is aggregated.
CusDtLnkLinkResourceFactory::~CusDtLnkLinkResourceFactory ()
virtual

Destructor.

Member Function Documentation

void CusDtLnkLinkResourceFactory::GetSchemes (K2Vector< WideString > & schemes) const
virtual

Returns the list of URI schemes supported by the handler, which in our case, CSVLink.

See Also
ILinkResourceFactory::GetSchemes
Parameters
schemes[OUT] List of supported schemes.

Implements ILinkResourceFactory.

ILinkResourceHandler * CusDtLnkLinkResourceFactory::QueryHandler (const URIuri,
IDataBasedb 
) const
virtual

Returns the link resource handler, kCusDtLnkLinkResourceHandlerBoss, that handles our 'CSVLink' type resource.

See Also
ILinkResourceFactory::GetSchemes

Implements ILinkResourceFactory.

ILinkResourceStateUpdater * CusDtLnkLinkResourceFactory::QueryStateUpdater (const URIuri,
IDataBasedb 
) const
virtual

Returns the link resource state updater who provides status update for link resource whose URI scheme is 'CSVLink'

See Also
ILinkResourceFactory::QueryStateUpdater

Implements ILinkResourceFactory.